facebook

Generating hibernate mappings to multiple packages trouble

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    jlitola
    Member

    If you generate hibernate mappings to different packages, resulting classes and xml-files don’t have full package information.

    If I for example have class tables a and b. I decide to generate mappings for first to package a and second to package b. If a refers to b, then a will have line like following:

    <many-to-one name=”b” column=”b” class=”B” not-null=”true” />

    class part should be “b.B” so that it would work.

    Classes also wont have right packages imported, but that is easily fixed with eclipses quick fix function.

    #226198

    Riyad Kalla
    Member

    I am researching this.

    #226217

    jlitola
    Member

    Somewhat related to this, although it isn’t actually a bug. It would be great if “Create hibernate mapping” function would suggest package if mappings have been created before. It would make regenerating mapping much faster.
    “Update mapping” -button would of course be even easier 🙂

    #234068

    jlitola
    Member

    This problem still occurs with 4.0M2. Is there any estimate when this could be fixed?

    #234075

    Riyad Kalla
    Member

    Sorry this doesn’t look like it will make the 4.0 cut, there is just too many other things on our plate for 4.0 and to avoid having it released in 2010, we had to axe more low-key isssues for the more commonly reported ones.

    After 4.0 ships out I think this will be a front runner for a maintence release hwoever.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Generating hibernate mappings to multiple packages trouble

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