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 Summary
-
Fields inherited from class liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
METADATA_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_RULE
-
-
Constructor Summary
Constructors Constructor Description CustomForeignKeySnapshotGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected liquibase.structure.core.ForeignKeyConstraintType
convertToForeignKeyConstraintType(Integer jdbcType, liquibase.database.Database database)
int
getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database)
-
Methods inherited from class liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
addTo, snapshotObject
-
-
-
-
Method Detail
-
getPriority
public int getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database)
- Specified by:
getPriority
in interfaceliquibase.snapshot.SnapshotGenerator
- Overrides:
getPriority
in classliquibase.snapshot.jvm.JdbcSnapshotGenerator
-
convertToForeignKeyConstraintType
protected liquibase.structure.core.ForeignKeyConstraintType convertToForeignKeyConstraintType(Integer jdbcType, liquibase.database.Database database) throws liquibase.exception.DatabaseException
- Overrides:
convertToForeignKeyConstraintType
in classliquibase.snapshot.jvm.ForeignKeySnapshotGenerator
- Throws:
liquibase.exception.DatabaseException
-
-