Class CustomForeignKeySnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
org.keycloak.connections.jpa.updater.liquibase.CustomForeignKeySnapshotGenerator
- All Implemented Interfaces:
- liquibase.snapshot.SnapshotGenerator
public class CustomForeignKeySnapshotGenerator
extends liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
This class overrides original ForeignKeySnapshotGenerator from liquibase 3.5.5. 
 It contains fix https://liquibase.jira.com/browse/CORE-3141
- 
Field SummaryFields inherited from class liquibase.snapshot.jvm.ForeignKeySnapshotGeneratorMETADATA_DEFERRABILITY, METADATA_DELETE_RULE, METADATA_FKCOLUMN_NAME, METADATA_FKTABLE_CAT, METADATA_FKTABLE_NAME, METADATA_FKTABLE_SCHEM, METADATA_PKCOLUMN_NAME, METADATA_PKTABLE_CAT, METADATA_PKTABLE_NAME, METADATA_PKTABLE_SCHEM, METADATA_UPDATE_RULEFields inherited from interface liquibase.snapshot.SnapshotGeneratorPRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected liquibase.structure.core.ForeignKeyConstraintTypeconvertToForeignKeyConstraintType(Integer jdbcType, liquibase.database.Database database) intgetPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database) Methods inherited from class liquibase.snapshot.jvm.ForeignKeySnapshotGeneratoraddTo, snapshotObjectMethods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGeneratoraddStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, replaces, shouldAddTo, snapshot, updateListeners
- 
Constructor Details- 
CustomForeignKeySnapshotGeneratorpublic CustomForeignKeySnapshotGenerator()
 
- 
- 
Method Details- 
getPrioritypublic int getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database) - Specified by:
- getPriorityin interface- liquibase.snapshot.SnapshotGenerator
- Overrides:
- getPriorityin class- liquibase.snapshot.jvm.JdbcSnapshotGenerator
 
- 
convertToForeignKeyConstraintTypeprotected liquibase.structure.core.ForeignKeyConstraintType convertToForeignKeyConstraintType(Integer jdbcType, liquibase.database.Database database) throws liquibase.exception.DatabaseException - Overrides:
- convertToForeignKeyConstraintTypein class- liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
- Throws:
- liquibase.exception.DatabaseException
 
 
-