how can i create one to many with xdoclet?

E

Elhanan

hi..

i have 2 classes Order, and OrderLines.

Order Lines have an OrderId and OrderLine properties

the Order class has property OrderLines which has:
/**
* @hibernate.list table = "OrderLine" name= "OrderLine"
inverse="true"
* @hibernate.collection-key column = "orderNo"
* @hibernate.collection-index column ="lineNo"
* @hibernate.collection-one-to-many class = "store.OrderLine"
* @return
*/

the build.xml keeps screaming it can't read the mapping file of the
order.hbm.xml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top