users@glassfish.java.net

Re: Question about using JDBC DataSources in EJB

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Wed, 18 Jul 2007 13:00:13 +0200

Thank you for answers,
in first attempt, I ensured that connections were closed and now
everything works :)
One more support question:
If I I use connection to get only one or two statements/resultsets (I
mean I do not create them in any loop), do I need to close these
statements/resultsets explicitly?
Right now I am not doing it, it seems that closing a connection
actually closes all the statemets/resultsets that were established
using that connection.

Witek