|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.p13n.content.document.jdbc.CallableStatement
com.bea.p13n.content.document.jdbc.GetSchemasStatement
A callable statement which handles getting all the schemas.
This expects no input parameters. OutParam1 will be the Map of string schema name to DocumentSchemaDef.
Field Summary | |
protected Map |
schemaMap
Deprecated. OutParam1: the map of DocumentSchemaDefs. |
Fields inherited from class com.bea.p13n.content.document.jdbc.CallableStatement |
connection |
Fields inherited from interface java.sql.Statement |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Constructor Summary | |
GetSchemasStatement(Connection con)
Deprecated. Constructor. |
Method Summary | |
void |
clearParameters()
Deprecated. Clear the parameters. |
void |
close()
Deprecated. Subclasses must implement this method. |
boolean |
execute()
Deprecated. Execute the statement. |
Object |
getObject(int index)
Deprecated. Get the output parameter. |
void |
setObject(int index,
Object obj)
Deprecated. Set the input parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Map schemaMap
Constructor Detail |
public GetSchemasStatement(Connection con)
Method Detail |
public void clearParameters()
clearParameters
in interface PreparedStatement
clearParameters
in class CallableStatement
public void close()
CallableStatement
close
in interface Statement
close
in class CallableStatement
public boolean execute() throws SQLException
execute
in interface PreparedStatement
execute
in class CallableStatement
SQLException
- thrown on an error.public Object getObject(int index) throws SQLException
getObject
in interface CallableStatement
getObject
in class CallableStatement
index
- the output parameter index.
SQLException
- thrown on invalid arg or not execute yet.public void setObject(int index, Object obj) throws SQLException
setObject
in interface PreparedStatement
setObject
in class CallableStatement
SQLException
- always thrown.
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |