Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove constants, methods, etc deprecated for removal in Jaybird 5 [JDBC616] #647

Closed
firebird-automations opened this issue Mar 14, 2020 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: @mrotteveel

As listed in the Jaybird 4 release notes:

#⁠#⁠#⁠ Removal of deprecated methods #⁠#⁠#⁠

The following methods will be removed in Jaybird 5:

- `MaintenanceManager.listLimboTransactions()`, use `MaintenanceManager.limboTransactionsAsList()` or `MaintenanceManager.getLimboTransactions()` instead.
- `TraceManager.loadConfigurationFromFile(String)`, use standard Java functionality like `new String(Files.readAllBytes(Paths.get(fileName)), <charset>)`
- `FBDatabaseMetaData.hasNoWildcards(String pattern)`
- `FBDatabaseMetaData.stripEscape(String pattern)`
- `StatementParser.parseInsertStatement(String sql)`, use `StatementParser.parseStatement(String sql)`
- `FbStatement.getFieldDescriptor()`, use `FbStatement.getRowDescriptor()`
- `AbstractFbStatement.setFieldDescriptor(RowDescriptor fieldDescriptor)`, use `AbstractFbStatement.setRowDescriptor(RowDescriptor rowDescriptor)`
- `FBField.isType(FieldDescriptor, int)`, use `JdbcTypeConverter.isJdbcType(FieldDescriptor, int)`

#⁠#⁠#⁠ Removal of deprecated classes #⁠#⁠#⁠

The following classes will be removed in Jaybird 5:

- `FBMissingParameterException`, exception is no longer used.

#⁠#⁠#⁠ Removal of deprecated constants #⁠#⁠#⁠

The following constants will be removed in Jaybird 5:

- All `SQL_STATE_*` constants in `FBSQLParseException` will be removed. Use equivalent constants in `org.firebirdsql.jdbc.SQLStateConstants`.
- `DatabaseParameterBufferExtension.EXTENSION_PARAMETERS` will be removed. There is no official replacement as this should be considered an implementation detail. It is possible that `DatabaseParameterBufferExtension` will be removed entirely.

Commits: f512aab

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Fix Version: Jaybird 5 [ 10871 ]

description: As listed in the Jaybird 4 release notes:

#⁠#⁠#⁠ Removal of deprecated methods #⁠#⁠#⁠

The following methods will be removed in Jaybird 5:

- `MaintenanceManager.listLimboTransactions()`, use
`MaintenanceManager.limboTransactionsAsList()` or
`MaintenanceManager.getLimboTransactions()` instead.
- `TraceManager.loadConfigurationFromFile(String)`, use standard Java
functionality like `new String(Files.readAllBytes(Paths.get(fileName)), <charset>)`
- `FBDatabaseMetaData.hasNoWildcards(String pattern)`
- `FBDatabaseMetaData.stripEscape(String pattern)`
- `StatementParser.parseInsertStatement(String sql)`, use
`StatementParser.parseStatement(String sql)`
- `FbStatement.getFieldDescriptor()`, use `FbStatement.getRowDescriptor()`
- `AbstractFbStatement.setFieldDescriptor(RowDescriptor fieldDescriptor)`,
use `AbstractFbStatement.setRowDescriptor(RowDescriptor rowDescriptor)`
- `FBField.isType(FieldDescriptor, int)`, use
`JdbcTypeConverter.isJdbcType(FieldDescriptor, int)`

#⁠#⁠#⁠ Removal of deprecated classes #⁠#⁠#⁠

The following classes will be removed in Jaybird 5:

- `FBMissingParameterException`, exception is no longer used.

#⁠#⁠#⁠ Removal of deprecated constants #⁠#⁠#⁠

The following constants will be removed in Jaybird 5:

- All `SQL_STATE_*` constants in `FBSQLParseException` will be removed. Use equivalent
constants in `org.firebirdsql.jdbc.SQLStateConstants`.
- `DatabaseParameterBufferExtension.EXTENSION_PARAMETERS` will be removed. There is no
official replacement as this should be considered an implementation detail. It is
possible that `DatabaseParameterBufferExtension` will be removed entirely.

=>

As listed in the Jaybird 4 release notes:

#⁠#⁠#⁠ Removal of deprecated methods #⁠#⁠#⁠

The following methods will be removed in Jaybird 5:

- `MaintenanceManager.listLimboTransactions()`, use `MaintenanceManager.limboTransactionsAsList()` or `MaintenanceManager.getLimboTransactions()` instead.
- `TraceManager.loadConfigurationFromFile(String)`, use standard Java functionality like `new String(Files.readAllBytes(Paths.get(fileName)), <charset>)`
- `FBDatabaseMetaData.hasNoWildcards(String pattern)`
- `FBDatabaseMetaData.stripEscape(String pattern)`
- `StatementParser.parseInsertStatement(String sql)`, use `StatementParser.parseStatement(String sql)`
- `FbStatement.getFieldDescriptor()`, use `FbStatement.getRowDescriptor()`
- `AbstractFbStatement.setFieldDescriptor(RowDescriptor fieldDescriptor)`, use `AbstractFbStatement.setRowDescriptor(RowDescriptor rowDescriptor)`
- `FBField.isType(FieldDescriptor, int)`, use `JdbcTypeConverter.isJdbcType(FieldDescriptor, int)`

#⁠#⁠#⁠ Removal of deprecated classes #⁠#⁠#⁠

The following classes will be removed in Jaybird 5:

- `FBMissingParameterException`, exception is no longer used.

#⁠#⁠#⁠ Removal of deprecated constants #⁠#⁠#⁠

The following constants will be removed in Jaybird 5:

- All `SQL_STATE_*` constants in `FBSQLParseException` will be removed. Use equivalent constants in `org.firebirdsql.jdbc.SQLStateConstants`.
- `DatabaseParameterBufferExtension.EXTENSION_PARAMETERS` will be removed. There is no official replacement as this should be considered an implementation detail. It is possible that `DatabaseParameterBufferExtension` will be removed entirely.

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants