public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4PreparedStatement s = new Jdbc4PreparedStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
Jdbc4CallableStatement(Jdbc4Connection connection, String sql, int rsType, int rsConcurrency, int rsHoldability) throws SQLException { super(connection, sql, true, rsType, rsConcurrency, rsHoldability); if ( !connection.haveMinimumServerVersion("8.1") || connection.getProtocolVersion() == 2) { // if there is no out parameter before the function determined by modifyJdbcCall then do not // set adjustIndex to true adjustIndex = outParmBeforeFunc; } }
public void setTypeMap(Map < String, Class < ? >> map) throws SQLException { setTypeMapImpl(map); }
/** * Create a connection from URL and properties. Always * does the connection work in the current thread without * enforcing a timeout, regardless of any timeout specified * in the properties. * * @param url the original URL * @param props the parsed/defaulted connection properties * @return a new connection * @throws SQLException if the connection could not be made */ private static Connection makeConnection(String url, Properties props) throws SQLException { return new org.postgresql.jdbc4.Jdbc4Connection(host(props), port(props), user(props), database(props), props, url); }
public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { Jdbc4PreparedStatement s = new Jdbc4PreparedStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.DatabaseMetaData getMetaData() throws SQLException { checkClosed(); if (metadata == null) metadata = new Jdbc4DatabaseMetaData(this); return metadata; }
/** * Create a connection from URL and properties. Always * does the connection work in the current thread without * enforcing a timeout, regardless of any timeout specified * in the properties. * * @param url the original URL * @param props the parsed/defaulted connection properties * @return a new connection * @throws SQLException if the connection could not be made */ private static Connection makeConnection(String url, Properties props) throws SQLException { return new org.postgresql.jdbc4.Jdbc4Connection(host(props), port(props), user(props), database(props), props, url); }
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { Jdbc4Statement s = new Jdbc4Statement(this, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.DatabaseMetaData getMetaData() throws SQLException { checkClosed(); if (metadata == null) metadata = new Jdbc4DatabaseMetaData(this); return metadata; }
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4Statement s = new Jdbc4Statement(this, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
Jdbc4CallableStatement(Jdbc4Connection connection, String sql, int rsType, int rsConcurrency, int rsHoldability) throws SQLException { super(connection, sql, true, rsType, rsConcurrency, rsHoldability); if ( !connection.haveMinimumServerVersion("8.1") || connection.getProtocolVersion() == 2) { // if there is no out parameter before the function determined by modifyJdbcCall then do not // set adjustIndex to true adjustIndex = outParmBeforeFunc; } }
public void setTypeMap(Map < String, Class < ? >> map) throws SQLException { setTypeMapImpl(map); }
/** * Create a connection from URL and properties. Always * does the connection work in the current thread without * enforcing a timeout, regardless of any timeout specified * in the properties. * * @param url the original URL * @param props the parsed/defaulted connection properties * @return a new connection * @throws SQLException if the connection could not be made */ private static Connection makeConnection(String url, Properties props) throws SQLException { return new org.postgresql.jdbc4.Jdbc4Connection(host(props), port(props), user(props), database(props), props, url); }
public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { Jdbc4CallableStatement s = new Jdbc4CallableStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4CallableStatement s = new Jdbc4CallableStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
Jdbc4CallableStatement(Jdbc4Connection connection, String sql, int rsType, int rsConcurrency, int rsHoldability) throws SQLException { super(connection, sql, true, rsType, rsConcurrency, rsHoldability); if ( !connection.haveMinimumServerVersion("8.1") || connection.getProtocolVersion() == 2) { // if there is no out parameter before the function determined by modifyJdbcCall then do not // set adjustIndex to true adjustIndex = outParmBeforeFunc; } }
public void setTypeMap(Map < String, Class < ? >> map) throws SQLException { setTypeMapImpl(map); }
public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4CallableStatement s = new Jdbc4CallableStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4Statement s = new Jdbc4Statement(this, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4PreparedStatement s = new Jdbc4PreparedStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }