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: