On Wednesday, February 5, 2003, at 08:59 PM, Greg Steuck wrote:
The implementation will include a Vector (for synchronization) ofThats fine. My only suggestion would be to also implement a prepared statement cache so if the same prepared statement was asked for again, just return the existing instance :)
Statements kept in AbstractJdbcConnection. The vector will be populated
by createStatement, prepareStatement, prepareCall methods of
AbstractJdbcConnection's descendants and all statements will be closed
by AbstractJdbcConnection.close. Duplicate calls to Statement.close are
safe according to java.sql javadoc. Thus, it is not necessary to track
if a statement has been closed already and we don't have to create extra
wrappers.
-pete
--
peter royal -> [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]