|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.document.jdbc.CallableStatement | +--com.beasys.commerce.axiom.document.jdbc.GetSchemaStatement
A callable statement which handles getting a single schema.
This expects InParam1 to be the string name of the schema to retrieve. OutParam1 will be the DocumentSchemaDef (or null if name not found).
Field Summary | |
protected DocumentSchemaDef |
schema
The schema gotten. |
protected java.lang.String |
schemaName
The name of the schema to get. |
Fields inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement |
connection |
Constructor Summary | |
GetSchemaStatement(Connection con)
Constructor. |
Method Summary | |
void |
clearParameters()
Clear the parameters. |
void |
close()
Close the statement. |
boolean |
execute()
Execute the statement. |
java.lang.Object |
getObject(int index)
Get the output parameter. |
void |
setObject(int index,
java.lang.Object obj)
Set the input parameter. |
void |
setString(int index,
java.lang.String str)
Set the input parameter string. |
boolean |
wasNull()
Tell if the schema was null. |
Methods inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement |
addBatch, addBatch, cancel, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, getArray, getBigDecimal, getBigDecimal, getBlob, getBoolean, getByte, getBytes, getClob, getConnection, getDate, getDate, getDocumentProvider, getDouble, getFetchDirection, getFetchSize, getFloat, getInt, getLong, getMaxFieldSize, getMaxRows, getMetaData,
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String schemaName
protected DocumentSchemaDef schema
Constructor Detail |
public GetSchemaStatement(Connection con)
Method Detail |
public void close()
close
in class CallableStatement
com.beasys.commerce.axiom.document.jdbc.CallableStatement
java.sql.SQLException
- thrown on an error.public void clearParameters()
clearParameters
in class CallableStatement
com.beasys.commerce.axiom.document.jdbc.CallableStatement
java.sql.SQLException
- thrown on an error.public boolean execute() throws java.sql.SQLException
execute
in class CallableStatement
java.sql.SQLException
- thrown on an error.public void setObject(int index, java.lang.Object obj) throws java.sql.SQLException
setObject
in class CallableStatement
java.sql.SQLException
- thrown on invalid args.public void setString(int index, java.lang.String str) throws java.sql.SQLException
setString
in class CallableStatement
java.sql.SQLException
- thrown on invlid args.setObject(int, java.lang.Object)
public java.lang.Object getObject(int index) throws java.sql.SQLException
getObject
in class CallableStatement
java.sql.SQLException
- thrown on an error.public boolean wasNull()
wasNull
in class CallableStatement
com.beasys.commerce.axiom.document.jdbc.CallableStatement
java.sql.SQLException
- always thrown.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |