BabelfishPreparedStatement
public abstract class BabelfishStatement extends BabelfishGenericProxy
Constructor | Description |
---|---|
BabelfishStatement() |
Modifier and Type | Method | Description |
---|---|---|
void |
addBatch(String sql) |
Translation compliant implementation of java.sql.Statement#addBatch(java.lang.String)
|
boolean |
execute(String sql) |
Translation compliant implementation of java.sql.Statement#execute(java.lang.String)
|
boolean |
execute(String sql, int autoGeneratedKeys) |
Translation compliant implementation of java.sql.Statement#execute(java.lang.String, int)
|
boolean |
execute(String sql, int[] columnIndexes) |
Translation compliant implementation of java.sql.Statement#execute(java.lang.String, int[])
|
boolean |
execute(String sql, String[] columnNames) |
Translation compliant implementation of java.sql.Statement#execute(java.lang.String, java.lang.String[])
|
ResultSet |
executeQuery(String sql) |
Translation compliant implementation of java.sql.Statement#executeQuery(java.lang.String)
|
int |
executeUpdate(String sql) |
Translation compliant implementation of java.sql.Statement#executeUpdate(java.lang.String)
|
int |
executeUpdate(String sql, int autoGeneratedKeys) |
Translation compliant implementation of java.sql.Statement#executeUpdate(java.lang.String, int)
|
int |
executeUpdate(String sql, int[] columnIndexes) |
Translation compliant implementation of java.sql.Statement#executeUpdate(java.lang.String, int[])
|
int |
executeUpdate(String sql, String[] columnNames) |
Translation compliant implementation of java.sql.Statement#executeUpdate(java.lang.String, java.lang.String[])
|
protected abstract Object |
getCreator() |
|
protected abstract Object |
getDelegate() |
|
protected Object |
post_Methods(Method m, Object result) |
Post method interceptor.
|
protected abstract Object |
proxify(Object d, Object creator) |
|
protected Object |
translateError(Method m, SQLException ex) |
Error interceptor.
|
protected abstract Object getCreator()
getCreator
in class BabelfishGenericProxy
protected abstract Object getDelegate()
getDelegate
in class BabelfishGenericProxy
protected Object translateError(Method m, SQLException ex) throws SQLException
translateError
in class BabelfishGenericProxy
m
-ex
-SQLException
protected Object post_Methods(Method m, Object result)
post_Methods
in class BabelfishGenericProxy
m
-result
-public void addBatch(String sql) throws SQLException
sql
-SQLException
Statement.addBatch(java.lang.String)
public boolean execute(String sql) throws SQLException
sql
-SQLException
Statement.execute(java.lang.String)
public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
sql
-autoGeneratedKeys
-SQLException
Statement.execute(java.lang.String, int)
public boolean execute(String sql, int[] columnIndexes) throws SQLException
sql
-columnIndexes
-SQLException
Statement.execute(java.lang.String, int[])
public boolean execute(String sql, String[] columnNames) throws SQLException
sql
-columnNames
-SQLException
Statement.execute(java.lang.String, java.lang.String[])
public ResultSet executeQuery(String sql) throws SQLException
sql
-SQLException
Statement.executeQuery(java.lang.String)
public int executeUpdate(String sql) throws SQLException
sql
-SQLException
Statement.executeUpdate(java.lang.String)
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
sql
-autoGeneratedKeys
-SQLException
Statement.executeUpdate(java.lang.String, int)
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
sql
-columnIndexes
-SQLException
Statement.executeUpdate(java.lang.String, int[])
public int executeUpdate(String sql, String[] columnNames) throws SQLException
sql
-columnNames
-SQLException
Statement.executeUpdate(java.lang.String, java.lang.String[])