facebook

XDoclet – Hibernate – Missing table attribute

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

    Hi,

    I notice that the auto completion for @hibernate… xdoclet is missing the “table” attribute for the tag @hibernate.joined-subclass. The table attribute is supported by XDoclet. But, the “table” attribute is not listed when the code assist pops up, for the tag @hibernate.joined-subclass.

    Is there a way to fix the configuration file? If so, where can I do this.

    Thanks, I remain.

    Robert Chartier

    #211605 Reply

    Forgot to mention, that I am using Eclipse 3 and myEclipse v3.8 b2

    #211608 Reply

    Riyad Kalla
    Member

    Robert,
    I checked the doclet description and don’t see a table attribute: http://xdoclet.sourceforge.net/xdoclet/tags/hibernate-tags.html#@hibernate_joined-subclass__0__1_

    Is there a doc someplace that says there should be?

    #211708 Reply

    No, this attribute is not part of the documentation yet. But it is part of the xml configuration of this doclet.

    You may verify this by looking at the following file: hibernate-joined-subclass.xdt, which is part of the xdoclet-hibernate-module-1.2.1.jar

    Robert C

    #211726 Reply

    Riyad Kalla
    Member

    Robert,
    We pull our autocomplete from the META-INF/xtags.xml file and neither XDoclet 1.2 or 1.2.1 ship with the support for the table attribute. You can fix this manually by opening up that JAR file, and opening the xtags.xml file, finding the joined-subclass entry in that xtags file and just copy another attribute and modify it accordingly.

    Now make sure to update the JAR, then open Eclipse and go to Window > Preferences > MyEclipse > XDoclet and hit refresh there and on the level below it to have MyEclipse pickup the changes. Also we would appreciate it if you could post back your changes so we might include them in the GA release.

    #211745 Reply

    Riyad,

    I did the modification and it now display the table parameter. Thanks.

    Also, I tried to post the changes here, but the text was too long and this forum, does not allow me to post such a big message. How do I post the new xtags.xml file?

    I will also post this as a bug to XDoclet folks.

    Robert

    #211746 Reply

    Riyad Kalla
    Member

    Robert,
    I’m glad its working and appreciate you commiting this change back to us. Please email the new file with a description of what you did (and a link to this post) to support@genuitec.com. I am sure the team will really appreciate the contribution!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: XDoclet – Hibernate – Missing table attribute

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