public interface SynchronizationSupport
Modifier and Type | Method and Description |
---|---|
void |
dropForeignKeys()
Drop all foreign key constraints on the target database
|
void |
dropUniqueConstraints() |
Object |
getObject(ResultSet resultSet,
int index,
int type)
Helper method for
ResultSet.getObject(int) with special handling for large objects. |
void |
restoreForeignKeys()
Restores all foreign key constraints on the target database
|
void |
restoreUniqueConstraints() |
void |
rollback(Connection connection) |
void |
synchronizeIdentityColumns() |
void |
synchronizeSequences()
Synchronizes the sequences on the target database with the source database.
|
void dropForeignKeys() throws SQLException
SQLException
- if database error occursvoid restoreForeignKeys() throws SQLException
SQLException
- if database error occursvoid synchronizeSequences() throws SQLException
SQLException
- if database error occursvoid synchronizeIdentityColumns() throws SQLException
SQLException
void dropUniqueConstraints() throws SQLException
SQLException
void restoreUniqueConstraints() throws SQLException
SQLException
Object getObject(ResultSet resultSet, int index, int type) throws SQLException
ResultSet.getObject(int)
with special handling for large objects.resultSet
- index
- type
- SQLException
void rollback(Connection connection)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.