18 package com.mysql.clusterj.jdbc;
20 import com.mysql.clusterj.core.util.I18NHelper;
21 import com.mysql.clusterj.core.util.Logger;
22 import com.mysql.clusterj.core.util.LoggerFactoryService;
23 import com.mysql.jdbc.Connection;
25 import java.sql.SQLException;
26 import java.sql.Savepoint;
28 import java.util.Properties;
55 public void init(Connection
conn, Properties properties)
throws SQLException {
60 public void destroy() {
61 interceptorImpl.destroy(
this);
62 interceptorImpl = null;
65 public void close() throws SQLException {
66 interceptorImpl.close();
69 public boolean commit() throws SQLException {
70 return interceptorImpl.commit();
73 public boolean rollback() throws SQLException {
74 return interceptorImpl.rollback();
77 public boolean rollback(Savepoint savepoint)
throws SQLException {
78 return interceptorImpl.rollback(savepoint);
81 public boolean setAutoCommit(
boolean autocommit)
throws SQLException {
85 public boolean setCatalog(
String catalog)
throws SQLException {
86 return interceptorImpl.setCatalog(catalog);
89 public boolean transactionBegun() throws SQLException {
90 return interceptorImpl.transactionBegun();
93 public boolean transactionCompleted() throws SQLException {
94 return interceptorImpl.transactionCompleted();