use of liquibase.database.jvm.SybaseASAConnection in project liquibase by liquibase.
the class SybaseASADatabase method setConnection.
@Override
public void setConnection(DatabaseConnection conn) {
DatabaseConnection dbConn;
if (conn instanceof JdbcConnection) {
// If conn is a real connection (JDBC), wrap it to prevent a driver bug
// (see SysbaseASAConnection for details)
dbConn = new SybaseASAConnection(((JdbcConnection) conn).getWrappedConnection());
} else {
dbConn = conn;
}
super.setConnection(dbConn);
}
Aggregations