Issue Details (XML | Word | Printable)

Key: JDBC-616
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Jaybird JDBC Driver

Remove constants, methods, etc deprecated for removal in Jaybird 5

Created: 14/Mar/20 04:18 PM   Updated: 14/Mar/20 04:54 PM
Component/s: JDBC driver
Affects Version/s: None
Fix Version/s: Jaybird 5

 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
There are no comments yet on this issue.