Hi all I would like to implement a new Hibernate CompositeUserType and use the corresponding class as a (complex) Attribute in a entity (like the enumeration type which is allready provided by the hibernate cartridge). Can anybody tell how this done so that it fits best into androMDA concepts?
Concrete Background is: I want to use a complex attribute in a entity which is not a datatype but a class with two persistent string attributes. Writing the code by hand i would use a class which implements CompositeUserType together with a mapping like: <property name="identType" type="ASpecialHibernateUserType" not-null="true"> <column name="IDENTTYPE_HKEY"/> <column name="IDENTTYPE_KEY"/> </property> Or is there a better way to solve this issue? Mit freundlichen Gr��en -------------------------------------------------------------------------------- Ing. Michael Chytracek Senior Consultant IDS Scheer Austria GmbH / Modecenterstrasse 14 / A - 1030 Wien Phone: +43 1 79566-18054 / Fax: +43 1 79566-444 / Mobile: +43 676 8909 80 54 Email: <[EMAIL PROTECTED]>/ Internet: <http://www.ids-scheer.com/> IDS Scheer Austria GesmbH Business Process Excellence SAP Global Services Partner ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
