Beginner |
|
Joined: Mon Mar 27, 2006 5:20 pm Posts: 20
|
hi..
i've been trying to use xdoclet to create a sample Order and OrderLines classes where Order has a list of OrderLines
the Order has a property of 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
*/
and OrderLines class
has OrderId and Line No properties,
first of all do i have to have an id property for OrderLines? can't i use OrderNo and LineNo?
the bulid.xml keeps screaming that it can't read mapping document of the order.hbm files...
any ideas?
|
|