facebook

Hibernate support – How to regen the class from xml?

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225464 Reply

    Edmond Wong
    Member

    Hi,

    What is the way to regenerate the class files after I modify the hbm.xml file to add additional relationship or attributes?

    Thanks,

    Edmond

    #225469 Reply

    Riyad Kalla
    Member

    Edmond,
    If you are asking how to do this with the MyEclipse tool, it does not support that direction of generation. Currently ME supports generation From the DB to Class file and HBM files, from there you may manually adjust any of these resources, but keep in mind your changes will be overwritten next time you generate (unless you made changes to the concrete class that is created for you by the tool).

    #225636 Reply

    Hello,

    This is a pitty; it would be great if ME could do this because I usually want to map the strange SQL names to something more meaningful. Doing this manually is tedious and error prone 🙁

    Can you please file this as a bug?

    Thanks,

    #225639 Reply

    Riyad Kalla
    Member

    It is alreayd filed as an enhancement and our support for hibernate is far from done, we will continue to improve it in the comming releases. Sorry for the inconvenience.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Hibernate support – How to regen the class from xml?

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