[ http://jira.andromda.org/browse/SPRING-125?page=history ]

Joel Kozikowski updated SPRING-125:
-----------------------------------

    Attachment: HibernateMetafacadeModel.xml.zip

Required changes to Hibernate Metafacade.

> Add support for Hibernate XML Persistence
> -----------------------------------------
>
>          Key: SPRING-125
>          URL: http://jira.andromda.org/browse/SPRING-125
>      Project: Spring Cartridge
>         Type: New Feature
>     Versions: 3.1
>     Reporter: Joel Kozikowski
>     Assignee: Chad Brandon
>     Priority: Minor
>  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