Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: Hibernate Cartridge
    • Labels:
      None

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              overheat overheat
              Reporter:
              joelkoz Joel Kozikowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: