public class ForeignKeySnapshotGenerator extends JdbcSnapshotGenerator
Modifier and Type | Field and Description |
---|---|
protected static String |
METADATA_DEFERRABILITY |
static String |
METADATA_DELETE_RULE |
static String |
METADATA_FKCOLUMN_NAME |
static String |
METADATA_FKTABLE_CAT |
static String |
METADATA_FKTABLE_NAME |
static String |
METADATA_FKTABLE_SCHEM |
static String |
METADATA_PKCOLUMN_NAME |
static String |
METADATA_PKTABLE_CAT |
static String |
METADATA_PKTABLE_NAME |
static String |
METADATA_PKTABLE_SCHEM |
static String |
METADATA_UPDATE_RULE |
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
Constructor and Description |
---|
ForeignKeySnapshotGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot) |
protected ForeignKeyConstraintType |
convertToForeignKeyConstraintType(Integer jdbcType,
Database database) |
protected DatabaseObject |
snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot) |
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, getPriority, replaces, shouldAddTo, snapshot, updateListeners
protected static final String METADATA_DEFERRABILITY
public static final String METADATA_FKTABLE_CAT
public static final String METADATA_FKTABLE_SCHEM
public static final String METADATA_FKTABLE_NAME
public static final String METADATA_FKCOLUMN_NAME
public static final String METADATA_PKTABLE_CAT
public static final String METADATA_PKTABLE_SCHEM
public static final String METADATA_PKTABLE_NAME
public static final String METADATA_PKCOLUMN_NAME
public static final String METADATA_UPDATE_RULE
public static final String METADATA_DELETE_RULE
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
addTo
in class JdbcSnapshotGenerator
DatabaseException
InvalidExampleException
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
snapshotObject
in class JdbcSnapshotGenerator
DatabaseException
InvalidExampleException
protected ForeignKeyConstraintType convertToForeignKeyConstraintType(Integer jdbcType, Database database) throws DatabaseException
DatabaseException
Copyright © 2023 Liquibase.org. All rights reserved.