facebook

Object names after reverse engineering

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

    toriwells
    Member

    Hi all,

    is there a way to decide what names do we want our objects to have when we generate the *.hbm.xml for Hibernate from the database view? I ask this question because I use to name the tables in plural, but the business objects in singular (for instance, I’d like to have the table PERSONS, but the object to be named Person,java). I think that the wizard should give the option to rename the objects. Another improvement could be the possibility for the wizard to tell it if there’s some inheritance between tables and act according to it. This way you save a lot of time redoing the files generated after the reverse engineering.

    Thanks for your time.

    Salut!

    #246167 Reply

    Riyad Kalla
    Member

    Toriwells,
    You cannot do that now, but you will be able to in a future release. We are trying to get it into 4.1.1, but most likely 5.0.

    #260886 Reply

    franticnick
    Member

    @support-rkalla wrote:

    Toriwells,
    You cannot do that now, but you will be able to in a future release. We are trying to get it into 4.1.1, but most likely 5.0.

    Is ti now possible to do that?

    #260895 Reply

    Riyad Kalla
    Member

    Yes I believe it’s on page 3 of the reverse engineering wizard, you can name the objects.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Object names after reverse engineering

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