liquibase.database.jvm.SybaseConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
package liquibase.database.jvm;
import liquibase.exception.DatabaseException;
import liquibase.servicelocator.LiquibaseService;
import java.sql.Connection;
import java.sql.Savepoint;
/**
* A Sybase specific Delegate that removes the calls to commit
* and rollback as Sybase requires that autocommit be set to true.
*
*/
@LiquibaseService(skip=true)
public class SybaseConnection extends JdbcConnection {
public SybaseConnection() {}
public SybaseConnection(Connection delegate) {
super(delegate);
}
@Override
public void commit() throws DatabaseException {
}
@Override
public void rollback() throws DatabaseException {
}
@Override
public void rollback(Savepoint savepoint) throws DatabaseException {
}
}