public class LiquibaseJpaUpdaterProvider extends Object implements JpaUpdaterProvider
Modifier and Type | Field and Description |
---|---|
static String |
CHANGELOG |
static String |
DB2_CHANGELOG |
FIRST_VERSION
Constructor and Description |
---|
LiquibaseJpaUpdaterProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static String |
getTable(String table,
String defaultSchema) |
void |
update(Connection connection,
String defaultSchema) |
protected void |
updateChangeSet(liquibase.Liquibase liquibase,
String changelog) |
void |
validate(Connection connection,
String defaultSchema) |
protected void |
validateChangeSet(liquibase.Liquibase liquibase,
String changelog) |
public static final String CHANGELOG
public static final String DB2_CHANGELOG
public LiquibaseJpaUpdaterProvider(KeycloakSession session)
public void update(Connection connection, String defaultSchema)
update
in interface JpaUpdaterProvider
protected void updateChangeSet(liquibase.Liquibase liquibase, String changelog) throws liquibase.exception.LiquibaseException
liquibase.exception.LiquibaseException
public void validate(Connection connection, String defaultSchema)
validate
in interface JpaUpdaterProvider
protected void validateChangeSet(liquibase.Liquibase liquibase, String changelog) throws liquibase.exception.LiquibaseException
liquibase.exception.LiquibaseException
Copyright © 2016 JBoss by Red Hat. All rights reserved.