|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.jdbc.core.CorePreparedStatement | +--org.enhydra.jdbc.standard.StandardPreparedStatement
A very simple implementation of PreparedStatement. When created it is supplied with another PreparedStatement to which nearly all of this class' methods delegate their work. Close() is overridden to prevent the statement from actually being closed.
Field Summary | |
boolean |
closed
|
java.lang.Object |
key
|
Fields inherited from class org.enhydra.jdbc.core.CorePreparedStatement |
ps |
Method Summary | |
void |
catchInvoke(java.sql.SQLException sqlException)
Exception management : catch or throw the exception |
void |
close()
Close this statement. |
void |
preInvoke()
Pre-invokation of the delegation, in case of the Statement is closed, we throw an exception |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Object key
public boolean closed
Method Detail |
public void close() throws java.sql.SQLException
close
in class CorePreparedStatement
public void preInvoke() throws java.sql.SQLException
preInvoke
in class CorePreparedStatement
public void catchInvoke(java.sql.SQLException sqlException) throws java.sql.SQLException
catchInvoke
in class CorePreparedStatement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |