-->
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: Database read issue with MySQL
PostPosted: Tue Nov 23, 2004 7:55 am 
Regular
Regular

Joined: Tue Nov 23, 2004 7:42 am
Posts: 82
Location: London, England
Hibernate version:
2.1.7

Full stack trace of any exception that occurs:
None

Name and version of the database you are using:
MySQL 4.1.7, JDBC Connector 3.0.16-ga

We've got an issue with Hibernate and MySQL 4.1.7 whereby if you hand-edit a field in the database the change is not immediately reflected by Hibernate. The old value is returned, however, the (rather bad) MySQL GUI we are using does reflect the change.. A restart of the web server is required. This is the case under both Windows and Linux. This behaviour is not observed under SQL Server.

Any suggestions?


Top
 Profile  
 
 Post subject: Possible fix
PostPosted: Wed Dec 01, 2004 8:14 am 
Regular
Regular

Joined: Tue Nov 23, 2004 7:42 am
Posts: 82
Location: London, England
I think this problem was caused by the Hibernate connection pooling implementation. I notice in the SchemaExport output that it is not intended for production use. I configured c3p0 and this seemed to fix the problem.


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.