Codota Logo
AbstractJdbc4Statement.checkClosed
Code IndexAdd Codota to your IDE (free)

How to use
checkClosed
method
in
org.postgresql.jdbc4.AbstractJdbc4Statement

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: postgresql/postgresql

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

public void setPoolable(boolean poolable) throws SQLException
{
  checkClosed();
  this.poolable = poolable;
}
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 void setNull(int parameterIndex, int targetSqlType) throws SQLException
{
  checkClosed();
  int oid;
  switch (targetSqlType)
  {
    case Types.SQLXML:
      oid = Oid.XML;
      break;
    default:
      super.setNull(parameterIndex, targetSqlType);
      return;
  }
  if (adjustIndex)
    parameterIndex--;
  preparedParameters.setNull(parameterIndex, oid);
}
origin: postgresql/postgresql

public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
{
  checkClosed();
  if (xmlObject == null || xmlObject.getString() == null)
    setNull(parameterIndex, Types.SQLXML);
  else
    setString(parameterIndex, xmlObject.getString(), Oid.XML);
}
origin: postgresql/postgresql

public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
{
  checkClosed();
  if (x == null)
  {
    setNull(parameterIndex, targetSqlType);
    return;
  }
  switch (targetSqlType) {
    case Types.SQLXML:
      if (x instanceof SQLXML) {
        setSQLXML(parameterIndex, (SQLXML)x);
      } else {
        setSQLXML(parameterIndex, new Jdbc4SQLXML(connection, x.toString()));
      }
      break;
    default:
      super.setObject(parameterIndex, x, targetSqlType, scale);
  }
}
origin: org.ancoron.postgresql/org.postgresql

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

public void setPoolable(boolean poolable) throws SQLException
{
  checkClosed();
  this.poolable = poolable;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setPoolable(boolean poolable) throws SQLException
{
  checkClosed();
  this.poolable = poolable;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

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

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

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

public void setNull(int parameterIndex, int targetSqlType) throws SQLException
{
  checkClosed();
  int oid;
  switch (targetSqlType)
  {
    case Types.SQLXML:
      oid = Oid.XML;
      break;
    default:
      super.setNull(parameterIndex, targetSqlType);
      return;
  }
  if (adjustIndex)
    parameterIndex--;
  preparedParameters.setNull(parameterIndex, oid);
}
origin: org.ancoron.postgresql/org.postgresql

public void setNull(int parameterIndex, int targetSqlType) throws SQLException
{
  checkClosed();
  int oid;
  switch (targetSqlType)
  {
    case Types.SQLXML:
      oid = Oid.XML;
      break;
    default:
      super.setNull(parameterIndex, targetSqlType);
      return;
  }
  if (adjustIndex)
    parameterIndex--;
  preparedParameters.setNull(parameterIndex, oid);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
{
  checkClosed();
  if (xmlObject == null || xmlObject.getString() == null)
    setNull(parameterIndex, Types.SQLXML);
  else
    setString(parameterIndex, xmlObject.getString(), Oid.XML);
}
origin: org.ancoron.postgresql/org.postgresql

public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
{
  checkClosed();
  if (xmlObject == null || xmlObject.getString() == null)
    setNull(parameterIndex, Types.SQLXML);
  else
    setString(parameterIndex, xmlObject.getString(), Oid.XML);
}
origin: org.ancoron.postgresql/org.postgresql

public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
{
  checkClosed();
  if (x == null)
  {
    setNull(parameterIndex, targetSqlType);
    return;
  }
  switch (targetSqlType) {
    case Types.SQLXML:
      if (x instanceof SQLXML) {
        setSQLXML(parameterIndex, (SQLXML)x);
      } else {
        setSQLXML(parameterIndex, new Jdbc4SQLXML(connection, x.toString()));
      }
      break;
    default:
      super.setObject(parameterIndex, x, targetSqlType, scale);
  }
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
{
  checkClosed();
  if (x == null)
  {
    setNull(parameterIndex, targetSqlType);
    return;
  }
  switch (targetSqlType) {
    case Types.SQLXML:
      if (x instanceof SQLXML) {
        setSQLXML(parameterIndex, (SQLXML)x);
      } else {
        setSQLXML(parameterIndex, new Jdbc4SQLXML(connection, x.toString()));
      }
      break;
    default:
      super.setObject(parameterIndex, x, targetSqlType, scale);
  }
}
org.postgresql.jdbc4AbstractJdbc4StatementcheckClosed

Popular methods of AbstractJdbc4Statement

  • checkIndex
  • setNull
  • setSQLXML
  • setString

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
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