| Modifier and Type | Field and Description |
|---|---|
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Column | enableColumnAutoIncrementIfAvailable(Column column, Database database, CachedRow columnMetadataResultSet, String rawCatalogName, String rawSchemaName, String rawTableName, String rawColumnName)
Verify if a column has auto increment capabilities and set the autoIncrement field with a placeholder object (starts with 1, increment 1) |
| private String | |
| private void | |
| private void | handleEnableAutoIncrementValidation(Column column, Database database, CachedRow columnMetadataResultSet)
|
| private void | |
| public Map | Returns: Map with the sequence name and auto increment detailsthe database connection database, Schema schema, DatabaseSnapshot snapshot data used to store cache information. snapshot)If the database support autoincrement columns details (as starts with and increment by), this method returns the detailed information about them. |
| autoIncrementColumns | back to summary |
|---|---|
| private Map<String, Column. | |
| ColumnAutoIncrementService | back to summary |
|---|---|
| public ColumnAutoIncrementService() | |
| enableColumnAutoIncrementIfAvailable | back to summary |
|---|---|
| public Column enableColumnAutoIncrementIfAvailable(Column column, Database database, CachedRow columnMetadataResultSet, String rawCatalogName, String rawSchemaName, String rawTableName, String rawColumnName) throws SQLException Verify if a column has auto increment capabilities and set the autoIncrement field with a placeholder object (starts with 1, increment 1) | |
| getQueryForDatabaseAndSchema | back to summary |
|---|---|
| private String getQueryForDatabaseAndSchema(Database database, Schema schema) throws LiquibaseException | |
| handleEnableAutoIncrementForOracle | back to summary |
|---|---|
| private void handleEnableAutoIncrementForOracle(Column column, CachedRow columnMetadataResultSet) | |
| handleEnableAutoIncrementValidation | back to summary |
|---|---|
| private void handleEnableAutoIncrementValidation(Column column, Database database, CachedRow columnMetadataResultSet) | |
| handleEnableAutoIncrementValidationLegacyJdbc | back to summary |
|---|---|
| private void handleEnableAutoIncrementValidationLegacyJdbc(Column column, Database database, String rawCatalogName, String rawSchemaName, String rawTableName, String rawColumnName) throws SQLException | |
| obtainSequencesInformation | back to summary |
|---|---|
| public Map If the database support autoincrement columns details (as starts with and increment by), this method returns the detailed information about them. If a new database needs to be supported just add the query to method getQueryForDatabase .
| |