-->
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.  [ 2 posts ] 
Author Message
 Post subject: hibernate.exception.JDBCConnectionException: could not inspe
PostPosted: Fri Jan 16, 2009 1:38 pm 
Newbie

Joined: Fri Nov 14, 2008 2:12 pm
Posts: 7
Location: new york
Can anybody tell me what causes this error:
hibernate.exception.JDBCConnectionException: could not inspect JDBC autocommit mode ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 17, 2009 12:08 am 
Regular
Regular

Joined: Wed Oct 15, 2008 6:59 am
Posts: 103
Location: Chennai
hibernate.exception.JDBCConnectionException is implementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup).

check ur JDBC setup.

if it does not solve, then use this hint

it was because a session close statement was missing from the finally block and so whenever we had an exception, the session was not closed and and became reusable for an incoming transaction. Thus this session was at times available to 2 different threads leading to above inconsistent behavior.

_________________
If u feel it will help you, don't forget to rate me....


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

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.