-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate + Spring / GenericJDBCException: Cannot open user
PostPosted: Thu Nov 23, 2006 5:49 am 
Newbie

Joined: Fri Jan 07, 2005 3:57 am
Posts: 16
Hi all,

I´m using Hibernate 3.1.2, Spring 1.2, deployed in JBoss 4.0.3.SP1. The application loads the initial data from the DB, but when I do the first query I obtain the next exception :

Could not open Hibernate session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open user connection

I think hibernate or Spring doesn't close the transaction and after the first query hibernate is left in a bad state.

Does anybody knows what could be happen?

Thanks in advance

Rodolfo


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.