-->
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.  [ 3 posts ] 
Author Message
 Post subject: Foreign Keys
PostPosted: Wed Jun 23, 2004 10:35 am 
Newbie

Joined: Fri Apr 02, 2004 2:22 pm
Posts: 11
Hi all,

I'm using MySQL 4.0.15 with Hibernate 2.1.2 and have a couple questions regarding Hibenate's SchemaUpdate.

1. Why does SchemaUpdate continually try to create the foreign key contraints on the MySQL database tables until it maxs them out to having 32 keys each?

2. Is there a setting to control this that I've missed in the documentation?

3. Why is SchemaUpdate trying to create these keys each time the mappings are loaded when they have already been created at the time the database tables were created (AND if Hibernate created them in the first place) ?

BTW, I'm using MySQL INNODB tables.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 23, 2004 11:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
This should be fixed in 2.1.4


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 23, 2004 3:41 pm 
Newbie

Joined: Fri Apr 02, 2004 2:22 pm
Posts: 11
Thanks Michael. I'll give it a shot.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.