[ http://jira.andromda.org/browse/HIB-141?page=comments#action_12204 ]
     
Chad Brandon commented on HIB-141:
----------------------------------

Thanks for the patch Joel.  I'm in the process of applying it, however I'm 
getting unresolved variables like  
"${associationEnd.collectionIndexNameGetter}" in the TargetEntity.java file in 
the "actual" output directory for the Hibernate cartridge test.  I checked the 
HibernateMetafacadeModel and the HibernateAssociationEndLogicImpl and I don't 
see any support for this attribute.  Can you look into this and get back to me 
so I can finish applying the patch?

Thanks,

Chad

> Add support for Hibernate XML Persistence
> -----------------------------------------
>
>          Key: HIB-141
>          URL: http://jira.andromda.org/browse/HIB-141
>      Project: Hibernate Cartridge
>         Type: New Feature
>     Reporter: Joel Kozikowski
>     Assignee: Chad Brandon
>     Priority: Minor
>      Fix For: 3.1
>  Attachments: HibernateMetafacadeModel.xml.zip, xmlEnable.patch
>
> Hibernate 3.0 has a feature that allows a DOM4J tree to be retrieved and 
> saved from the database 
> (http://www.hibernate.org/hib_docs/v3/reference/en/html/xml.html).  This 
> patch adds support for that feature to AndroMDA.
> When activated, a transform type is added to each entity's DAO 
> (TRANSFORM_XML).  This allows objects in the database to be retrieved as a 
> DOM4J XML tree rather than a POJO.  Saving of DOM4J back to the database is 
> also supported (as far as it is supported in Hibernate - the feature has 
> problems with nested objects).
> To activate, add the following properties to your default namespace:
>     <property name="hibernateVersion">3</property>
>     <property name="hibernateXMLPersistence">true</property>
>     <property name="hibernateXMLPersistIDAsAttribute">true</property>




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

Reply via email to