Hi everybody,

I'm opening a database connection using JDBC 2.1.
I associate this connection to a HttpSession.

The problem is that I open a HttpSession and, at the same time a database
connection. If I lock a row in a table and meanwhile, for some reason, the
HttpSession finish, as the database connection is associated to the session,
I can not access anymore to the database connection, the row I locked is
still locked and I don't know how unlock it.

I'd like to know some way to control the instant when the HttpSession close.
That way I can make a rollback and close the database connection properly.

Thanks.

Carlos Garcia

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to