Hi,
I am using Cloudscape(IBM Cloudscape Version 10.1) and derbyclient.jar
provided by derby. Following are the code I am using for clean the database
connection and also PreparedStatement.
public void cleanup(Connection aoConnection,
PreparedStatement aoPreparedStatement)
Hi,
Maybe it would help to close the prepared statement befor you close
the connection, which also would be the natural way of cleaning up.
Bernt
Shambhu wrote (2007-03-21 18:55:29):
Hi,
I am using Cloudscape(IBM Cloudscape Version 10.1) and derbyclient.jar
provided by derby. Following
provided by derby. Following are the code I am using for clean the
database connection and also PreparedStatement.
if(!(aoConnection ==null || aoConnection.isClosed()))
aoConnection.close();//Release Connection
if(aoPreparedStatement != null)