facebook

XDoclet Ignores Inverse tag on Sets, Lits, Bags, etc.

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #225987 Reply

    Eclipse Version: 3.0.1
    MyEclipse version: 3.8.4

    This is a known issue with XDoclet, but I thought it important to post here so that the MyEclipse developers and users would be aware of it.

    As per:

    http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1166

    If you’ve marked a Set as inverse=”true”, XDoclet will ignore (and remove) the inverse tag from the collection mapping. This is a HUGE problem for XDoclet and a fix should be recommended ASAP. I don’t believe this was happening in the previous version of MyEclipse.

    If you know of a way to fix this, please post!

    #225988 Reply

    I’ve dug deeper and found some additional information. If you set the <hibernate version=”xxxx” > to version=”2.0″ then it works fine. If you set it to version=”2.1″ then it will fail due to the aforementioned bug in XDoclet 1.2.x.

    I’ve checked into it and feel that it’s probably OK to set it to 2.0 since the DTD that Hibernate 2.1.x uses is the 2.0 DTD of Hibernate. If anyone else has additional information, it’d be helpful!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: XDoclet Ignores Inverse tag on Sets, Lits, Bags, etc.

You must be logged in to post in the forum log in