01: package liquibase.database;
02:
03: import java.sql.Connection;
04: import java.sql.SQLException;
05: import java.sql.Savepoint;
06:
07: /**
08: * A Sybase specific Delegate that removes the calls to commit
09: * and rollback as Sybase requires that autocommit be set to true.
10: *
11: * @author <a href="mailto:csuml@yahoo.co.uk">Paul Keeble</a>
12: *
13: */
14: public class SybaseConnectionDelegate extends SQLConnectionDelegate {
15: public SybaseConnectionDelegate(Connection delegate) {
16: super (delegate);
17: }
18:
19: public void commit() throws SQLException {
20:
21: }
22:
23: public void rollback() throws SQLException {
24:
25: }
26:
27: public void rollback(Savepoint savepoint) throws SQLException {
28:
29: }
30: }
|