Is it possible to specify a composite property (ie, CompositeUserType) from 2 
columns of a given table in hibernate.reveng.xml, and if so, what might that 
look like?

I would hope the resulting mapping would look something like:

 
  | <property name="initialPrice" 
type="persistence.MonetaryAmountCompositeUserType">
  |   <column name="INITIAL_PRICE"/>
  |   <column name="INITIAL_PRICE_CURRENCY"/>
  | </property>

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227961#4227961

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227961
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to