org.skife.jdbi.v2
Class Call

java.lang.Object
  extended by org.skife.jdbi.v2.SQLStatement<Call>
      extended by org.skife.jdbi.v2.Call

public class Call
extends SQLStatement<Call>

Used for invoking stored procedures.


Method Summary
protected  void addCleanable(Cleanable cleanable)
           
protected  void addCustomizer(StatementCustomizer customizer)
           
protected  void addCustomizers(Collection<StatementCustomizer> customizers)
           
protected  void afterExecution(PreparedStatement stmt)
           
protected  void beforeExecution(PreparedStatement stmt)
           
protected  void cleanup()
           
protected  ConcreteStatementContext getConcreteContext()
           
 StatementContext getContext()
          Obtain the statement context associated with this statement
protected  org.skife.jdbi.v2.Foreman getForeman()
           
protected  Collection<StatementCustomizer> getStatementCustomizers()
           
 OutParameters invoke()
          Invoke the callable statement
 Call registerOutParameter(int position, int sqlType)
          Register output parameter
 Call registerOutParameter(int position, int sqlType, CallableStatementMapper mapper)
           
 Call registerOutParameter(String name, int sqlType)
          Register output parameter
 Call registerOutParameter(String name, int sqlType, CallableStatementMapper mapper)
           
 
Methods inherited from class org.skife.jdbi.v2.SQLStatement
addStatementCustomizer, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bindASCIIStream, bindASCIIStream, bindAsInt, bindAsInt, bindAsInt, bindAsInt, bindBinaryStream, bindBinaryStream, bindBySqlType, bindBySqlType, bindFromMap, bindFromProperties, bindNamedArgumentFinder, bindNull, bindNull, cleanupHandle, cleanupHandle, define, define, getContainerMapperRegistry, getHandle, getLog, getParameters, getParams, getRewriter, getSql, getStatementBuilder, getStatementLocator, getTimingCollector, internalExecute, registerArgumentFactory, registerContainerFactory, setFetchDirection, setFetchDirection2, setQueryTimeout, setStatementLocator, setStatementLocator2, setStatementRewriter, setStatementRewriter2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public OutParameters invoke()
Invoke the callable statement


registerOutParameter

public Call registerOutParameter(int position,
                                 int sqlType)
Register output parameter


registerOutParameter

public Call registerOutParameter(int position,
                                 int sqlType,
                                 CallableStatementMapper mapper)

registerOutParameter

public Call registerOutParameter(String name,
                                 int sqlType)
Register output parameter


registerOutParameter

public Call registerOutParameter(String name,
                                 int sqlType,
                                 CallableStatementMapper mapper)

addCleanable

protected void addCleanable(Cleanable cleanable)

addCustomizer

protected void addCustomizer(StatementCustomizer customizer)

addCustomizers

protected void addCustomizers(Collection<StatementCustomizer> customizers)

afterExecution

protected final void afterExecution(PreparedStatement stmt)

beforeExecution

protected final void beforeExecution(PreparedStatement stmt)

cleanup

protected final void cleanup()

getConcreteContext

protected final ConcreteStatementContext getConcreteContext()

getContext

public final StatementContext getContext()
Obtain the statement context associated with this statement


getForeman

protected final org.skife.jdbi.v2.Foreman getForeman()

getStatementCustomizers

protected Collection<StatementCustomizer> getStatementCustomizers()


Copyright © 2013. All Rights Reserved.