-->
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: Middlegen doesn't detect my MySQL associations
PostPosted: Mon Sep 06, 2004 5:57 am 
Newbie

Joined: Mon Aug 23, 2004 9:23 am
Posts: 12
Hibernate version: 2.0

Name and version of the database you are using:MySQL

Hello,
Some time ago , I used middlegen-hibernate with a MySQL database with some foreign keys (one to may associations to be more accurate). As a result, the *.hbm.xml files had one-to-many elements and all worked fine.
Now, I have used it again and it doesn't find my associations, it doesn't generate the one-to-many relationships and I am going mad. I use the normal middlegen and task and then the hbm2java tool and I think I haven't changed anything important. I don't specify any table because I want all tables are scanned. Is there any option I could use?
Thanks and kind regards.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 06, 2004 8:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
There is a quite a series things that maybe the cause of not seeing the relationships with MySQL. Rather than document them here I suggest;
1) Read the Middlegen WIKI page and the comments section.
2) Read the databases supported on the Middlegen site (I recently add more information for MySQL).
3) Do a search on this forum.

If you are still having problems after doing the above and trying out appropriate suggestions, I will need you to supply more information, eg, version numbers, JDBC driver version etc..


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.