Class LogicalPreparedStatement

java.lang.Object
org.apache.derby.client.am.LogicalStatementEntity
org.apache.derby.client.am.LogicalPreparedStatement
All Implemented Interfaces:
AutoCloseable, PreparedStatement, Statement, Wrapper
Direct Known Subclasses:
LogicalCallableStatement, LogicalPreparedStatement42

public class LogicalPreparedStatement extends LogicalStatementEntity implements PreparedStatement
A wrapper class for a physical Derby prepared statement.

The idea behind the logical prepared statement is to allow reuse of the physical prepared statement. In general the logical entity will forward all calls to the physical entity. A few methods have special implementations, the most important one being LogicalStatementEntity.close(). Each method will check that the logical statement is still open before the call is forwarded to the underlying physical statement.

See Also: