[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Reverse Engineering CompositeUserTypes
denlab
do-not-reply at jboss.com
Fri May 1 00:20:44 EDT 2009
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
More information about the jboss-user
mailing list