XDoclet 2 Plugins
  1. XDoclet 2 Plugins
  2. XDP-129

Backward Compatibility with Xdoclet1

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.0.4
    • Component/s: hibernate
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Hi,

      I am evaluating whether to switch to XDoclet2 from xdoclet-1.2.3 for our project, and I am rather disappointed with the backward compatibility of XDoclet2. Aside from the hibernate.collection.* --> hibernate.*, I have noticed a few more things:

      • complains if a not-null="true" is placed after a @hibernate.set tag
      • complains about sql-type tags
      • others...?!

      It seems like a run through all of our domain objects is required in order to use XDoclet2, this is a big minus when considering whether to switch. Almost as though XDoclet2 is a completely different thing altogether, with little relation to XDoclet1...

      XDoclet2 should be backward compatible to XDoclet1.

      Thanks,
      Matthew

        Activity

        Hide
        Konstantin Pribluda added a comment -

        The story is, that XD1 is being developed even further and independently of XD2
        using old technology - there are new commiters etc.
        There was baclward compatilility at some time but now it's not the case.

        With XD2 we try to folow DTD changes of hibernate.

        Despite differences, there are advantages - XD2 has tag validation and line accurate error reporting.
        And it is easier to patch and change templates.

        Show
        Konstantin Pribluda added a comment - The story is, that XD1 is being developed even further and independently of XD2 using old technology - there are new commiters etc. There was baclward compatilility at some time but now it's not the case. With XD2 we try to folow DTD changes of hibernate. Despite differences, there are advantages - XD2 has tag validation and line accurate error reporting. And it is easier to patch and change templates.
        Hide
        Diogo Bacelar Quintela added a comment -

        We make the effort to make it compatible however there is situations where to use XD2 tag validation we are forced to lift some of that compatibilty. It should be documented although (Ejb plugins also has some incompatibilities that must be documented also).

        Show
        Diogo Bacelar Quintela added a comment - We make the effort to make it compatible however there is situations where to use XD2 tag validation we are forced to lift some of that compatibilty. It should be documented although (Ejb plugins also has some incompatibilities that must be documented also).
        Hide
        Konstantin Pribluda added a comment -

        Since XD1 follows own ways, we can not always stay compatible with them.

        Show
        Konstantin Pribluda added a comment - Since XD1 follows own ways, we can not always stay compatible with them.

          People

          • Assignee:
            Konstantin Pribluda
            Reporter:
            Matthew Ma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: