18 package com.mysql.clusterj.jdbc;
20 import com.mysql.jdbc.Connection;
21 import com.mysql.jdbc.ResultSetInternalMethods;
22 import com.mysql.jdbc.Statement;
24 import java.sql.SQLException;
25 import java.util.Properties;
33 implements com.mysql.jdbc.StatementInterceptorV2 {
38 public void init(Connection connection, Properties properties)
throws SQLException {
43 public void destroy() {
44 interceptorImpl.destroy(
this);
45 interceptorImpl = null;
48 public boolean executeTopLevelOnly() {
49 return interceptorImpl.executeTopLevelOnly();
52 public ResultSetInternalMethods postProcess(
String sql, Statement
statement,
53 ResultSetInternalMethods result, Connection connection,
int arg4,
54 boolean arg5,
boolean arg6, SQLException sqlException)
throws SQLException {
55 return interceptorImpl.postProcess(sql, statement,
56 result, connection, arg4,
57 arg5, arg6, sqlException);
60 public ResultSetInternalMethods preProcess(
String sql, Statement statement,
61 Connection connection)
throws SQLException {
62 return interceptorImpl.preProcess(sql, statement, connection);