Codota Logo
org.postgresql.jdbc4
Code IndexAdd Codota to your IDE (free)

How to use org.postgresql.jdbc4

Best Java code snippets using org.postgresql.jdbc4 (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: postgresql/postgresql

public java.sql.Clob getClob(int i) throws SQLException
{
  checkResultSet(i);
  if (wasNullFlag)
    return null;
  return new Jdbc4Clob(connection, getLong(i));
}
origin: postgresql/postgresql

public java.sql.ResultSetMetaData getMetaData() throws SQLException
{
  checkClosed();
  return new Jdbc4ResultSetMetaData(connection, fields);
}
origin: postgresql/postgresql

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;
}
origin: postgresql/postgresql

public ResultSet createResultSet (Query originalQuery, Field[] fields, Vector tuples, ResultCursor cursor)
throws SQLException
{
  Jdbc4ResultSet newResult = new Jdbc4ResultSet(originalQuery, this, fields, tuples, cursor,
                getMaxRows(), getMaxFieldSize(),
                getResultSetType(), getResultSetConcurrency(), getResultSetHoldability());
  newResult.setFetchSize(getFetchSize());
  newResult.setFetchDirection(getFetchDirection());
  return newResult;
}
origin: postgresql/postgresql

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;
}
origin: postgresql/postgresql

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;
}
origin: postgresql/postgresql

public java.sql.Blob getBlob(int i) throws SQLException
{
  checkResultSet(i);
  if (wasNullFlag)
    return null;
  return new Jdbc4Blob(connection, getLong(i));
}
origin: postgresql/postgresql

public Array createArray(int i) throws SQLException
{
  checkResultSet(i);
  int oid = fields[i - 1].getOID();
  String value = getFixedString(i);
  return new Jdbc4Array(connection, oid, value);
}
origin: postgresql/postgresql

public SQLXML getSQLXML(int columnIndex) throws SQLException
{
  String data = getString(columnIndex);
  if (data == null)
    return null;
  return new Jdbc4SQLXML(connection, data);
}
origin: postgresql/postgresql

public synchronized void setString(String value) throws SQLException
{
  checkFreed();
  initialize();
  _data = value;
}
origin: postgresql/postgresql

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;
  }
}
origin: postgresql/postgresql

public SQLXML getSQLXML(int parameterIndex) throws SQLException
{
  checkClosed();
  checkIndex(parameterIndex, Types.SQLXML, "SQLXML");
  return (SQLXML)callResult[parameterIndex - 1];
}
origin: postgresql/postgresql

public synchronized String getString() throws SQLException
{
  checkFreed();
  ensureInitialized();
  return _data;
}
origin: postgresql/postgresql

public void updateNClob(String columnName, Reader reader, long length) throws SQLException
{
  updateNClob(findColumn(columnName), reader, length);
}
origin: postgresql/postgresql

public void updateCharacterStream(String columnName, Reader reader, long length) throws SQLException
{
  updateCharacterStream(findColumn(columnName), reader, length);
}
origin: postgresql/postgresql

public java.sql.DatabaseMetaData getMetaData() throws SQLException
{
  checkClosed();
  if (metadata == null)
    metadata = new Jdbc4DatabaseMetaData(this);
  return metadata;
}
origin: postgresql/postgresql

public SQLXML createSQLXML() throws SQLException
{
  checkClosed();
  return new Jdbc4SQLXML(this);
}
origin: postgresql/postgresql

public boolean isPoolable() throws SQLException
{
  checkClosed();
  return poolable;
}
origin: postgresql/postgresql

public Properties getClientInfo() throws SQLException
{
  checkClosed();
  return _clientInfo;
}
origin: postgresql/postgresql

public void setPoolable(boolean poolable) throws SQLException
{
  checkClosed();
  this.poolable = poolable;
}
org.postgresql.jdbc4

Most used classes

  • AbstractJdbc4Blob
  • AbstractJdbc4Clob
  • AbstractJdbc4Connection
  • AbstractJdbc4DatabaseMetaData
  • AbstractJdbc4ResultSet
  • Jdbc4Array,
  • Jdbc4Blob,
  • Jdbc4CallableStatement,
  • Jdbc4Clob,
  • Jdbc4Connection,
  • Jdbc4DatabaseMetaData,
  • Jdbc4ParameterMetaData,
  • Jdbc4PreparedStatement,
  • Jdbc4ResultSet,
  • Jdbc4ResultSetMetaData,
  • Jdbc4SQLXML$NonPrintingErrorHandler,
  • Jdbc4SQLXML,
  • Jdbc4Statement,
  • Jdbc42Connection
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now