0 Replies Latest reply on May 1, 2009 12:20 AM by den lab

    Reverse Engineering CompositeUserTypes

    den lab Newbie

      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"/>