-->
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: JIRA HBX-174 questions
PostPosted: Fri May 27, 2005 12:59 pm 
Regular
Regular

Joined: Thu Sep 23, 2004 11:53 am
Posts: 83
Any idea when the Hibernate tools plugin will be able to handle the case that two foreign keys that includes the same column. I posted yesterday about this is and Gavin was kind enough to tell me the proper syntax, instead of using <key-many-to-one>. Unfortunately, I have 1300 tables in my schema and this is a lot of manual labor to convert the generated schemas to the proper syntax. Any help would be appreciated! I know the the templates for the Tool can be edited but my velocity template knowledge is zero. Has anyone already modified the the templates for this work around? I tried middlegen but it does run if you have synonyms is you schema.

Again any help would be appreciated!


Hibernate version:
3.0 + latest Hibernate Tools
Mapping documents:
NA
Code between sessionFactory.openSession() and session.close():
NA
Full stack trace of any exception that occurs:
NA
Name and version of the database you are using:
Oracle 10g
The generated SQL (show_sql=true):
NA
Debug level Hibernate log excerpt:
NA


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 28, 2005 4:24 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the major problem is - which of the foreign key associations should be the primary one ?

we will need to find a away to tell the reveng tool that...

_________________
Max
Don't forget to rate


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.