public class PostgresMigrateUriRegistrySqlCommand extends AbstractMigrateUriRegistrySqlCommand
postgres related SqlCommand for migrating data from
URI_REGISTRY into app_registration.AbstractMigrateUriRegistrySqlCommand.AppRegistrationMigrationData| Constructor and Description |
|---|
PostgresMigrateUriRegistrySqlCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Connection connection)
Handle command in a given jdbc template.
|
protected void |
updateAppRegistration(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
List<AbstractMigrateUriRegistrySqlCommand.AppRegistrationMigrationData> data)
Update app registration.
|
canHandleInJdbcTemplate, createAppRegistrationMigrationData, dropUriRegistryTablefrom, from, getCommand, getSuppressedErrorCodespublic PostgresMigrateUriRegistrySqlCommand()
public void handle(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Connection connection)
SqlCommandhandle in class AbstractMigrateUriRegistrySqlCommandjdbcTemplate - the jdbc templateconnection - the sql connectionprotected void updateAppRegistration(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
List<AbstractMigrateUriRegistrySqlCommand.AppRegistrationMigrationData> data)
AbstractMigrateUriRegistrySqlCommandAppRegistrationMigrationData's and keep hibernate_sequence
up-to-date.updateAppRegistration in class AbstractMigrateUriRegistrySqlCommandjdbcTemplate - the jdbc templatedata - the dataCopyright © 2020 Pivotal Software, Inc.. All rights reserved.