@Override protected Connection doGetNativeConnection(Connection con) throws SQLException { return (Connection) getInnermostDelegate(con); }
@Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { return (CallableStatement) getNativeStatement(cs); }
public static NativeJdbcExtractor getNativeJdbcExtractory () { try { return (NativeJdbcExtractor) Class .forName( System.getProperty("db.native.extractor", "org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor")) .newInstance(); } catch (Exception ex) { log.error("The native jdbc extractor has not been configured. Defaulting to the common basic datasource extractor.", ex); return new CommonsDbcpNativeJdbcExtractor(); } }
@Override protected Connection doGetNativeConnection(Connection con) throws SQLException { return (Connection) getInnermostDelegate(con); }
@Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { return (PreparedStatement) getNativeStatement(ps); }
@Override public Statement getNativeStatement(Statement stmt) throws SQLException { return (Statement) getInnermostDelegate(stmt); }
@Override public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException { return (PreparedStatement) getNativeStatement(ps); }
@Override public ResultSet getNativeResultSet(ResultSet rs) throws SQLException { return (ResultSet) getInnermostDelegate(rs); }
@Override public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException { return (CallableStatement) getNativeStatement(cs); }
@Override public Statement getNativeStatement(Statement stmt) throws SQLException { return (Statement) getInnermostDelegate(stmt); }
@Override public ResultSet getNativeResultSet(ResultSet rs) throws SQLException { return (ResultSet) getInnermostDelegate(rs); }