emaayan wrote:
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
I have something similar, so hopefully may work for you too, I have changed yours as below:
/**
* @hibernate.list
* @hibernate.key column = "orderNo"
* @hibernate.index column ="lineNo"
* @hibernate.one-to-many class = "store.OrderLine"
*/
Reply if it works for you.