congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
QueryExecutor.createParameterizedQuery
Code IndexAdd Tabnine to your IDE (free)

How to use
createParameterizedQuery
method
in
org.postgresql.core.QueryExecutor

Best Java code snippets using org.postgresql.core.QueryExecutor.createParameterizedQuery (Showing top 3 results out of 315)

origin: postgresql/postgresql

public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException
{
  this.connection = connection;
  this.lastSimpleQuery = null;
  String parsed_sql = replaceProcessing(sql);
  if (isCallable)
    parsed_sql = modifyJdbcCall(parsed_sql);
  this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql);
  this.preparedParameters = preparedQuery.createParameterList();
  int inParamCount =  preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
  resultsettype = rsType;
  concurrency = rsConcurrency;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException
{
  this.connection = connection;
  this.lastSimpleQuery = null;
  String parsed_sql = replaceProcessing(sql);
  if (isCallable)
    parsed_sql = modifyJdbcCall(parsed_sql);
  this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql);
  this.preparedParameters = preparedQuery.createParameterList();
  int inParamCount =  preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
  resultsettype = rsType;
  concurrency = rsConcurrency;
}
origin: org.ancoron.postgresql/org.postgresql

public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException
{
  this.connection = connection;
  this.lastSimpleQuery = null;
  String parsed_sql = replaceProcessing(sql);
  if (isCallable)
    parsed_sql = modifyJdbcCall(parsed_sql);
  this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql);
  this.preparedParameters = preparedQuery.createParameterList();
  int inParamCount =  preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
  resultsettype = rsType;
  concurrency = rsConcurrency;
}
org.postgresql.coreQueryExecutorcreateParameterizedQuery

Javadoc

Create a parameterized Query object suitable for execution by this QueryExecutor. The provided query string is parsed for parameter placeholders ('?' characters), and the Query#createParameterList of the returned object will create an appropriately-sized ParameterList.

Popular methods of QueryExecutor

  • createFastpathParameters
    Create a new ParameterList implementation suitable for invoking a fastpath function via #fastpathCal
  • createSimpleQuery
    Create an unparameterized Query object suitable for execution by this QueryExecutor. The provided qu
  • execute
    Execute several Query, passing results to a provided ResultHandler.
  • fastpathCall
    Invoke a backend function via the fastpath interface.
  • fetch
    Fetch additional rows from a cursor.
  • processNotifies
    Prior to attempting to retrieve notifications, we need to pull any recently received notifications o
  • startCopy
    Issues a COPY FROM STDIN / COPY TO STDOUT statement and returns handler for associated operation. Un
  • abort
    Abort at network level without sending the Terminate message to the backend.
  • borrowCallableQuery
  • borrowQuery
  • borrowQueryByKey
  • borrowReturningQuery
  • borrowQueryByKey,
  • borrowReturningQuery,
  • close,
  • createQuery,
  • createQueryByKey,
  • createQueryKey,
  • getApplicationName,
  • getAutoSave,
  • getBackendPID

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • 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
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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