IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes ReverseEngineering one-to-many ralationship Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "ReverseEngineering one-to-many ralationship" Watch "ReverseEngineering one-to-many ralationship" New topic
Author

ReverseEngineering one-to-many ralationship

Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
Hello:

Is it possible to disable one-to-many relationship on a specific table in the reverse engineering configuration file? How can I do it?

Situation:

I have a USER table. Almost all other tables reference that table as a foreign key in a column called "ModifiedBy".
So, there is one-to-many relationship. The default reverse engineering configuration produces SETs that referece all other tables.

i.e. set clientes(), set adresses(), and so on.

I want to disable this one-to-many relationship on the USER table.

Can it be done? if so, how? I looked at the DTD for the reverse engineering, but I couldn't figuer it out.

Thanks


SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
 
 
subject: ReverseEngineering one-to-many ralationship
 
Threads others viewed
many-to-many mapping - Hibernate mapping files ?
Java Hibernate Cascading Issue
Reverse enginerring not creating object into POJO
Need help with Reverse Engineering to create JAVA objects
Hibernate: Different Join in Save() and Get()
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com