Codota Logo
ParameterList.setStringParameter
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ParameterList
private void myMethod () {
ParameterList p =
  • Codota IconSimpleParameterList[] subparams;new CompositeParameterList(subparams, offsets)
  • Codota IconQueryExecutor queryExecutor;queryExecutor.createFastpathParameters(count)
  • Codota Iconnew FastpathParameterList(paramCount)
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

/**
 * This version is for values that should turn into strings e.g. setString directly calls
 * bindString with no escaping; the per-protocol ParameterList does escaping as needed.
 *
 * @param paramIndex parameter index
 * @param s value
 * @param oid type oid
 * @throws SQLException if something goes wrong
 */
private void bindString(int paramIndex, String s, int oid) throws SQLException {
 preparedParameters.setStringParameter(paramIndex, s, oid);
}
origin: postgresql/postgresql

private void bindString(int paramIndex, String s, int oid) throws SQLException
{
  if (adjustIndex)
    paramIndex--;
  preparedParameters.setStringParameter( paramIndex, s, oid);
}
origin: org.ancoron.postgresql/org.postgresql

private void bindString(int paramIndex, String s, int oid) throws SQLException
{
  if (adjustIndex)
    paramIndex--;
  preparedParameters.setStringParameter( paramIndex, s, oid);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

private void bindString(int paramIndex, String s, int oid) throws SQLException
{
  if (adjustIndex)
    paramIndex--;
  preparedParameters.setStringParameter( paramIndex, s, oid);
}
org.postgresql.coreParameterListsetStringParameter

Javadoc

Binds a String value that needs to be quoted for the server's parser to understand (for example, a timestamp) to a parameter. Associated with the parameter is a typename for the parameter that should correspond to an entry in pg_types.

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
  • getTypeOIDs
    Return the oids of the parameters in this list. May be null for a ParameterList that does not suppor
  • 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
  • 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

  • Start an intent from android
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • Kernel (java.awt.image)
  • Path (java.nio.file)
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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