Daniel -Thanks. So, I should not call close() on the Connection - just releaseConnection() on the DBConnection that created it? I'll give that a try.
Thanks, Bob ----- Original Message ----- From: "Daniel Rall" <[EMAIL PROTECTED]> To: "Turbine Users List" <[EMAIL PROTECTED]> Sent: Saturday, March 02, 2002 4:55 PM Subject: Re: transactionIsolation level in DBConnection? > "Bob Swerdlow" <[EMAIL PROTECTED]> writes: > > > DBConnection does support getConnect(), which returns a JDBC connection, but > > then an I using the pooled connection? If so, I guess I can do all my work > > through the Connection. > > Yes, that'll do it. > > > Do I then close() the Connection when I'm done or just call > > releaseConnection(DBConnection db) for the DBConnection that gave me > > the Connection (that seems risky because it must invalidate the > > Connection as a side effect of closing the DBConnection). > > Call releaseConnection() to return the DBConnection to the pool. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
