All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.database.jvm.SybaseConnection Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show 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 {
        
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy