Hi Mahesh,
the warning tells you that you have not called close() on your database
instance before it get discarded by the garbage collector of java. If
you properly close your database instances this warning will disapear.
Regards
Ralf
Mahesh Kulkarni schrieb:
Hello All,
Does anyone has an idea about the following WARNING castor generates? (I
think) I manage the DB connection/transaction in a correct manner.
Any help is really appreciated.
Thanks,
Mahesh.
org.exolab.castor.jdo.engine.DatabaseImpl finalize
WARNING: An open database instance (
<mailto:[EMAIL PROTECTED]:jdbc/XXXXXX>[EMAIL PROTECTED]:jdbc/XXXXXX
<mailto:[EMAIL PROTECTED]:jdbc/XXXXXXDB>
<mailto:[EMAIL PROTECTED]:jdbc/XXXXXXDB>DB)
against database: jdbc/_XXXXXX_DB has been encountered. This instance
will be closed now to release system resources. Please consider changing
your
code as well to enforce that all database connections are closed after
use.SQL executed, but not closed:null
Note:
I'm using castor-0.9.5.3.jar
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email