-->
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: hbm2dll auto-update and mysql not working
PostPosted: Tue Dec 06, 2005 2:17 pm 
Newbie

Joined: Fri Oct 14, 2005 2:35 pm
Posts: 14
Hibernate doesn't seem to be able to update my tables (e.g. add columns) at startup. It creates them for the first time just fine and everything else works great, but it doesn't seem to be able to do updates to the table definitions.

I'm using mysql 4.1.14 on a gentoo linux machine. The property hibernate.hbm2dll.auto is set to auto. I've tried running with both Hibernate 3.0.5 and 3.1rc2.

I've done some digging and saw other issues like this one. It looks like it's an issue with the table names. My table names are all lower-case and the hbm2dll tool uses all upper-case characters when trying to lookup the table names so it fails to see them. According to this http://opensource2.atlassian.com/projec ... wse/HB-409 it should be fixed (and for a long time it looks like), but I'm still running into this problem.

Any suggestions?


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.