Joined: Fri Jun 10, 2005 6:30 am Posts: 4 Location: Bangalore,India
|
When I run my Hibernate Synchronizer to generate the HBM's...If it encounters a Foreign Key--The generated HBM should contain a <many-to-one> tag for the following Foreign Key & In Cae it encounters a Composite Ket then it should genrate a <Key-many-to-one> relationship automatically right???
When i run my sychronizer it generates only <property> mapping even for Foreign Keys.......Can anybosy tell me what i should do ..So that the HBM created includes even the <many-to-one> mappings also????
Should I need to select something before generating???
Also one more prob I am facing is The HBm genarated contains all the <property> twice??Does anybody know the reason for this???Is it got anything to do with the database???
|
|