Joined: Wed Jan 22, 2014 5:56 pm Posts: 1
|
Hi, there is one way to customize one HQL that will be used in a bag mapping?
<bag name="productItems" cascade="all" inverse="true"> <key column="PRODUCT_ID" not-null="true" /> <one-to-many class="com.macys.stars.pricing.domain.event.ProductItem" /> </bag>
or can I use HQL in the where mapping?
<bag name="productItems" cascade="all" inverse="true"> <key column="PRODUCT_ID" not-null="true" /> <one-to-many class="com.macys.stars.pricing.domain.event.ProductItem" /> <where> product.state.current </where> </bag>
|
|