BabelfishConnection
public interface OracleTranslatingConnection
Modifier and Type | Interface | Description |
---|---|---|
static class |
OracleTranslatingConnection.SqlTranslationVersion |
Enumeration of various Translation versions of a query.
|
Modifier and Type | Method | Description |
---|---|---|
Statement |
createStatement(boolean translation) |
|
Statement |
createStatement(int resultSetType, int resultSetConcurrency, boolean translation) |
|
Statement |
createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean translation) |
|
Map<OracleTranslatingConnection.SqlTranslationVersion,String> |
getSqlTranslationVersions(String sql, boolean suppressExceptions) |
Returns a map of all the translation versions of the query during SQL Translation.
|
CallableStatement |
prepareCall(String sql, boolean translation) |
|
CallableStatement |
prepareCall(String sql, int resultSetType, int resultSetConcurrency, boolean translation) |
|
CallableStatement |
prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean translation) |
|
PreparedStatement |
prepareStatement(String sql, boolean translation) |
|
PreparedStatement |
prepareStatement(String sql, int[] columnIndexes, boolean translation) |
|
PreparedStatement |
prepareStatement(String sql, int autoGeneratedKeys, boolean translation) |
|
PreparedStatement |
prepareStatement(String sql, int resultSetType, int resultSetConcurrency, boolean translation) |
|
PreparedStatement |
prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean translation) |
|
PreparedStatement |
prepareStatement(String sql, String[] columnNames, boolean translation) |
Statement createStatement(boolean translation) throws SQLException
SQLException
Statement createStatement(int resultSetType, int resultSetConcurrency, boolean translation) throws SQLException
SQLException
Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean translation) throws SQLException
SQLException
PreparedStatement prepareStatement(String sql, boolean translation) throws SQLException
SQLException
PreparedStatement prepareStatement(String sql, int autoGeneratedKeys, boolean translation) throws SQLException
SQLException
PreparedStatement prepareStatement(String sql, int[] columnIndexes, boolean translation) throws SQLException
SQLException
PreparedStatement prepareStatement(String sql, String[] columnNames, boolean translation) throws SQLException
SQLException
PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, boolean translation) throws SQLException
SQLException
PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean translation) throws SQLException
SQLException
CallableStatement prepareCall(String sql, boolean translation) throws SQLException
SQLException
CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, boolean translation) throws SQLException
SQLException
CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean translation) throws SQLException
SQLException
Map<OracleTranslatingConnection.SqlTranslationVersion,String> getSqlTranslationVersions(String sql, boolean suppressExceptions) throws SQLException
sql
- vendor specific sql to be translatedsuppressExceptions
- suppresses any exception raised during query translation and returns whatever is available. Useful to get JDBC_MARKER_CONVERTED version when the translation is throwing error.SQLException
- If there is a problem in query translation provided suppressExceptions is false.OracleTranslatingConnection.SqlTranslationVersion