Tabnine Logo
ParameterList.getTypeOIDs
Code IndexAdd Tabnine to your IDE (free)

How to use
getTypeOIDs
method
in
org.postgresql.core.ParameterList

Best Java code snippets using org.postgresql.core.ParameterList.getTypeOIDs (Showing top 4 results out of 315)

origin: org.postgresql/postgresql

public ParameterMetaData getParameterMetaData() throws SQLException {
 int flags = QueryExecutor.QUERY_ONESHOT | QueryExecutor.QUERY_DESCRIBE_ONLY
   | QueryExecutor.QUERY_SUPPRESS_BEGIN;
 StatementResultHandler handler = new StatementResultHandler();
 connection.getQueryExecutor().execute(preparedQuery.query, preparedParameters, handler, 0, 0,
   flags);
 int[] oids = preparedParameters.getTypeOIDs();
 if (oids != null) {
  return createParameterMetaData(connection, oids);
 }
 return null;
}
origin: postgresql/postgresql

/**
 * Retrieves the number, types and properties of this
 * <code>PreparedStatement</code> object's parameters.
 *
 * @return a <code>ParameterMetaData</code> object that contains information
 *     about the number, types and properties of this
 *     <code>PreparedStatement</code> object's parameters
 * @exception SQLException if a database access error occurs
 * @see ParameterMetaData
 * @since 1.4
 */
public ParameterMetaData getParameterMetaData() throws SQLException
{
  int flags = QueryExecutor.QUERY_ONESHOT | QueryExecutor.QUERY_DESCRIBE_ONLY | QueryExecutor.QUERY_SUPPRESS_BEGIN;
  StatementResultHandler handler = new StatementResultHandler();
  connection.getQueryExecutor().execute(preparedQuery, preparedParameters, handler, 0, 0, flags);
  int oids[] = preparedParameters.getTypeOIDs();
  if (oids != null)
    return createParameterMetaData(connection, oids);
  return null;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

/**
 * Retrieves the number, types and properties of this
 * <code>PreparedStatement</code> object's parameters.
 *
 * @return a <code>ParameterMetaData</code> object that contains information
 *     about the number, types and properties of this
 *     <code>PreparedStatement</code> object's parameters
 * @exception SQLException if a database access error occurs
 * @see ParameterMetaData
 * @since 1.4
 */
public ParameterMetaData getParameterMetaData() throws SQLException
{
  int flags = QueryExecutor.QUERY_ONESHOT | QueryExecutor.QUERY_DESCRIBE_ONLY | QueryExecutor.QUERY_SUPPRESS_BEGIN;
  StatementResultHandler handler = new StatementResultHandler();
  connection.getQueryExecutor().execute(preparedQuery, preparedParameters, handler, 0, 0, flags);
  int oids[] = preparedParameters.getTypeOIDs();
  if (oids != null)
    return createParameterMetaData(connection, oids);
  return null;
}
origin: org.ancoron.postgresql/org.postgresql

/**
 * Retrieves the number, types and properties of this
 * <code>PreparedStatement</code> object's parameters.
 *
 * @return a <code>ParameterMetaData</code> object that contains information
 *     about the number, types and properties of this
 *     <code>PreparedStatement</code> object's parameters
 * @exception SQLException if a database access error occurs
 * @see ParameterMetaData
 * @since 1.4
 */
public ParameterMetaData getParameterMetaData() throws SQLException
{
  int flags = QueryExecutor.QUERY_ONESHOT | QueryExecutor.QUERY_DESCRIBE_ONLY | QueryExecutor.QUERY_SUPPRESS_BEGIN;
  StatementResultHandler handler = new StatementResultHandler();
  connection.getQueryExecutor().execute(preparedQuery, preparedParameters, handler, 0, 0, flags);
  int oids[] = preparedParameters.getTypeOIDs();
  if (oids != null)
    return createParameterMetaData(connection, oids);
  return null;
}
org.postgresql.coreParameterListgetTypeOIDs

Javadoc

Return the oids of the parameters in this list. May be null for a ParameterList that does not support typing of parameters.

Popular methods of ParameterList

  • clear
    Unbind all parameter values bound in this list.
  • copy
    Perform a shallow copy of this ParameterList, returning a new instance (still suitable for passing t
  • getInParameterCount
    Get the number of IN parameters in this list.
  • getOutParameterCount
    Get the number of OUT parameters in this list.
  • getParameterCount
    Get the number of parameters in this list. This value never changes for a particular instance, and m
  • registerOutParameter
  • setBytea
    Binds a binary bytea value stored as a bytearray to a parameter. The parameter's type is implicitly
  • setLiteralParameter
    Binds a String value that is an unquoted literal to the server's query parser (for example, a bare i
  • setNull
    Binds a SQL NULL value to a parameter. Associated with the parameter is a typename for the parameter
  • setStringParameter
    Binds a String value that needs to be quoted for the server's parser to understand (for example, a t
  • toString
    Return a human-readable representation of a particular parameter in this ParameterList. If the param
  • appendAll
    Use this operation to append more parameters to the current list.
  • toString,
  • appendAll,
  • setBinaryParameter,
  • setText

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ImageIO (javax.imageio)
  • Notification (javax.management)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now