Close called on BrokeredConnection. If this call
returns true then getRealConnection().close() will be called.
Don't close the underlying real connection as
it is pooled.
Dummy implementation for the actual methods found in
org.apache.derby.jdbc.EmbedPooledConnection40
Parameters: statement - PreparedStatement Parameters: sqle - SQLException
Reset the isolation level flag used to keep state in
BrokeredConnection. It will get set to true when isolation level
is set using JDBC/SQL. It will get reset to false at the start
and the end of a global transaction.
Get the string representation of this pooled connection.
A pooled connection is assigned a separate id from a physical
connection. When a container calls PooledConnection.toString(),
it gets the string representation of this id. This is useful for
developers implementing connection pools when they are trying to
debug pooled connections.
a string representation of the uniquie id for this pooledconnection.
Call the setBrokeredConnectionControl method inside the
EmbedPreparedStatement class to set the BrokeredConnectionControl
variable to this instance of EmbedPooledConnection
This will then be used to call the onStatementErrorOccurred
and onStatementClose events when the corresponding events
occur on the PreparedStatement
Parameters: ps - PreparedStatment to be wrapped Parameters: sql - String Parameters: generatedKeys - Object returns the wrapped PreparedStatement throws: java.sql.SQLException -
Call the setBrokeredConnectionControl method inside the
EmbedCallableStatement class to set the BrokeredConnectionControl
variable to this instance of EmbedPooledConnection
This will then be used to call the onStatementErrorOccurred
and onStatementClose events when the corresponding events
occur on the CallableStatement
Parameters: cs - CallableStatment to be wrapped Parameters: sql - String returns the wrapped CallableStatement throws: java.sql.SQLException -