-->
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: GenericJDBCException
PostPosted: Wed Apr 05, 2006 10:43 am 
Newbie

Joined: Wed Mar 29, 2006 5:09 am
Posts: 4
Hi there,

I am using Hibernate 3.0 with MySQL 5.0
I built my Web Application the same style as the CaveatEmptor Example, using DAO-Objects to Access Data through Hibernate. Now it happens quite often that my Application suddenly throws a
Quote:
javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: could not execute query


This happens by chance, when I reload the page where it occurs, it sometimes throws the Exception again, sometimes it shows the expected result. The occurance of this Exception seems to be totally independent of what I am doing with the application.

Does anybody has some ideas how to solve that?

Thanks,
Felix


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 05, 2006 6:05 pm 
Expert
Expert

Joined: Tue Nov 23, 2004 7:00 pm
Posts: 570
Location: mostly Frankfurt Germany
You will have to post the full stack trace and the source code which is called when the exception happens.

Best Regards Sebastian

_________________
Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de


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.