|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.syncsoft.plainsql.PlainSql
com.syncsoft.plainsql.PlainProc
public class PlainProc
Class to represent a stored procedure. Allows for multiple result sets and other stored procedure specific capabilities.
| Constructor Summary | |
|---|---|
PlainProc(PSconnection conn,
java.lang.String procName)
Create an object for a stored procedure call |
|
| Method Summary | |
|---|---|
ProcedureResult |
executeProc(java.lang.Object... args)
Execute the procedure and retrieve result sets and OUT parameters |
java.sql.CallableStatement |
getCallableStatement()
Access the JDBC Callable statement correspondint to this statement object |
boolean |
getMoreResults()
Move to the next result set returned by this stored procedure |
java.lang.Object |
getOutParm(int parm_no)
Get the value of the specified OUT parameter |
java.sql.ParameterMetaData |
getProcParmMetaData()
|
java.sql.CallableStatement |
getProcStatement()
|
| Methods inherited from class com.syncsoft.plainsql.PlainSql |
|---|
bindArgs, close, colcount, execute, execute, executeBatch, executeUpdate, executeUpdate, fetchAll, fetchOne, getColNames, getFetchahead, getJdbcConnection, getJdbcStatement, getPsConnection, getResult, getRsMetaData, getSql, makeRow, nextRow, setFetchAhead |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainProc(PSconnection conn,
java.lang.String procName)
throws java.sql.SQLException
conn - connectionprocName - ,
name of the procedure
java.sql.SQLException| Method Detail |
|---|
public ProcedureResult executeProc(java.lang.Object... args)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement getCallableStatement()
public boolean getMoreResults()
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getOutParm(int parm_no)
throws java.sql.SQLException
parm_no -
java.sql.SQLExceptionpublic java.sql.ParameterMetaData getProcParmMetaData()
public java.sql.CallableStatement getProcStatement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||