/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf) throws SQLException { return buf.prepareStatement(conn); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf) throws SQLException { return buf.prepareStatement(conn); }
/** * Create and populate the parameters of a prepared statement using * the SQL in this buffer. */ public PreparedStatement prepareStatement(Connection conn) throws SQLException { return prepareStatement(conn, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql, JDBCFetchConfiguration fetch, int rsType, int rsConcur, boolean isLRS) throws SQLException { if (fetch == null) return sql.prepareStatement(conn, rsType, rsConcur); else return sql.prepareStatement(conn, fetch, rsType, -1); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf) throws SQLException { return buf.prepareStatement(conn); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql) throws SQLException { return sql.prepareStatement(conn); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql, JDBCFetchConfiguration fetch, int rsType, int rsConcur, boolean isLRS) throws SQLException { if (fetch == null) return sql.prepareStatement(conn, rsType, rsConcur); else return sql.prepareStatement(conn, fetch, rsType, -1); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf) throws SQLException { return buf.prepareStatement(conn); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql) throws SQLException { return sql.prepareStatement(conn); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql) throws SQLException { return sql.prepareStatement(conn); }
/** * Create and populate the parameters of a prepared statement using * the SQL in this buffer. */ public PreparedStatement prepareStatement(Connection conn) throws SQLException { return prepareStatement(conn, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); }
/** * Create and populate the parameters of a prepared statement using * the SQL in this buffer. */ public PreparedStatement prepareStatement(Connection conn) throws SQLException { return prepareStatement(conn, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql, JDBCFetchConfiguration fetch, int rsType, int rsConcur, boolean isLRS) throws SQLException { if (fetch == null) return sql.prepareStatement(conn, rsType, rsConcur); else return sql.prepareStatement(conn, fetch, rsType, -1); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws SQLException { return buf.prepareStatement(conn, fetch, rsType, rsConcur); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws SQLException { return buf.prepareStatement(conn, fetch, rsType, rsConcur); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws SQLException { return buf.prepareStatement(conn, fetch, rsType, rsConcur); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql) throws SQLException { return sql.prepareStatement(conn); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws SQLException { return buf.prepareStatement(conn, fetch, rsType, rsConcur); }
/** * Create and populate the parameters of a prepared statement using * the SQL in this buffer. */ public PreparedStatement prepareStatement(Connection conn, int rsType, int rsConcur) throws SQLException { return prepareStatement(conn, null, rsType, rsConcur); }
/** * This method is to provide override for non-JDBC or JDBC-like * implementation of preparing statement. */ protected PreparedStatement prepareStatement(Connection conn, SQLBuffer sql) throws SQLException { return sql.prepareStatement(conn); }