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

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

Best Java code snippets using org.postgresql.core.ParameterList.setBinaryParameter (Showing top 2 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

protected void bindBytes(int paramIndex, byte[] b, int oid) throws SQLException {
 preparedParameters.setBinaryParameter(paramIndex, b, oid);
}
origin: org.postgresql/postgresql

TimeZone tz = cal != null ? cal.getTimeZone() : null;
connection.getTimestampUtils().toBinDate(tz, val, d);
preparedParameters.setBinaryParameter(i, val, Oid.DATE);
return;
org.postgresql.coreParameterListsetBinaryParameter

Javadoc

Binds given byte[] value to a parameter. The bytes must already be in correct format matching the OID.

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
  • 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
  • setStringParameter,
  • toString,
  • appendAll,
  • setText

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • String (java.lang)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • ImageIO (javax.imageio)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
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