Re: [Xdoclet-user] hibernate composite-element problem

2006-12-16 Thread Mel Haynes
Yeah, honestly I was trying to make the existing schema ( legacy ) work using hibernate. Perhaps I am still too new to it, but I could not figure out how to get the mapping correct without the "child" table having an identifier. What I did was add an identifier ( using native ) so that the uniquene

Re: [Xdoclet-user] hibernate composite-element problem

2006-12-07 Thread Konstantin Priblouda
Obviously properties of composite element has to be marked in that class instead of where you placed it ( in your case: com.wr.adProgram.hibernate.utils.columnViewDetail ) I'm not sure though how well composite element is suppored in XD1, so I would recommend to upgrade to XD2 ( plugin version 1

Re: [Xdoclet-user] hibernate composite-element problem

2006-12-07 Thread Shervin Asgari
What kind of exception do you get? Do you get exception? Because if you get HibernateException, then you know its something in your hibernate.cfg.xml file or your hbm.xml that is wrong. What is normally the case is the name and the column. Always dobbel check to see if they are match correctly etc.

[Xdoclet-user] hibernate composite-element problem

2006-12-06 Thread Mel Haynes
I am having a problem getting the composite element feature to work correctly, specifically the property names in the composite element. I have searched the net high and low with now luck. Could someone point out what I am doing wrong? Here is what I have First I have 2 tables, one table stores th