|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.jdbc.util.JdbcUtil
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 |
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil |
---|
log |
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 |
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 interface java.sql.Statement
close
in class CorePreparedStatement
java.sql.SQLException
public void preInvoke() throws java.sql.SQLException
preInvoke
in class CorePreparedStatement
java.sql.SQLException
public void catchInvoke(java.sql.SQLException sqlException) throws java.sql.SQLException
catchInvoke
in class CorePreparedStatement
java.sql.SQLException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |