Hi Ralph,

Thanks for your reply. But as per the castor bug document 1356
(http://jira.codehaus.org/browse/CASTOR-1356), it was regarded as a bug.
I saw your name as one of the contributors in the description. I'm sure
I'm managing everything correctly (though I'll double check again). I'll
appreciate if you comment more on that.

Thanks in advance.

Regards,
Mahesh.

-----Original Message-----
From: Ralf Joachim [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 02, 2007 5:19 PM
To: [email protected]
Subject: Re: [castor-user] Help Needed

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/XXXXXXD
> B>
> <mailto:[EMAIL PROTECTED]:jdbc/XXXXXXD
> B>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




---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to