/** * Retrieve the Connection via JBoss' {@code getUnderlyingStatement} method. */ @Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { return (CallableStatement) getNativeStatement(cs); }
@Override public ResultSet getNativeResultSet(ResultSet rs) throws SQLException { return (ResultSet) getInnermostDelegate(rs); }
@Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { return (PreparedStatement) getNativeStatement(ps); }
protected NativeJdbcExtractor jdbcExtractor; Connection conn=jdbcExtractor.getNativeConnection(oracleConnection);
@Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { PreparedStatement preparedStatement = NativeJdbcExtractUtils.getPreparedStatement(ps); if (delegate != null) { preparedStatement = delegate.getNativePreparedStatement(preparedStatement); } return preparedStatement; }
@Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { CallableStatement callableStatement = NativeJdbcExtractUtils.getCallableStatement(cs); if (delegate != null) { callableStatement = delegate.getNativeCallableStatement(callableStatement); } return callableStatement; }
/** * Retrieve the underlying OracleConnection, using a NativeJdbcExtractor if set. */ protected Connection getOracleConnection(PreparedStatement ps) throws SQLException, ClassNotFoundException { return (nativeJdbcExtractor != null ? nativeJdbcExtractor.getNativeConnectionFromStatement(ps) : ps.getConnection()); }
protected NativeJdbcExtractor jdbcExtractor; Connection conn=jdbcExtractor.getNativeConnection(oracleConnection);
@Override public ResultSet getNativeResultSet(ResultSet rs) throws SQLException { return (ResultSet) getInnermostDelegate(rs); }
/** * Retrieve the Connection via JBoss' {@code getUnderlyingStatement} method. */ @Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { return (PreparedStatement) getNativeStatement(ps); }
@Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { return (CallableStatement) getNativeStatement(cs); }
@Override protected Connection doGetNativeConnection(Connection con) throws SQLException { Connection connection = NativeJdbcExtractUtils.getConnection(con); if (delegate != null) { connection = delegate.getNativeConnection(connection); } return connection; }
@Override protected Connection doGetNativeConnection(Connection con) throws SQLException { return (Connection) getInnermostDelegate(con); }
/** * Retrieve the Connection via JBoss' {@code getUnderlyingStatement} method. */ @Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { return (PreparedStatement) getNativeStatement(ps); }
@Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { return (PreparedStatement) getNativeStatement(ps); }
@Override public Statement getNativeStatement(Statement stmt) throws SQLException { return (Statement) getInnermostDelegate(stmt); }
/** * Retrieve the Connection via JBoss' {@code getUnderlyingStatement} method. */ @Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { return (CallableStatement) getNativeStatement(cs); }
@Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { return (CallableStatement) getNativeStatement(cs); }
@Override protected Connection doGetNativeConnection(Connection con) throws SQLException { return (Connection) getInnermostDelegate(con); }
@Override public Statement getNativeStatement(Statement stmt) throws SQLException { return (Statement) getInnermostDelegate(stmt); }