facebook

forward engineering? create tables from java classes

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

    zhihai
    Member

    I have some existing Java classes but no database tables. Is there a wizard to map/create tables based on Java objects? Given that reverse engineering is to create Java from tables, this would be forward engineering. But how do you launch the forward engineering wizard? Thanks in advance.

    #265693 Reply

    Haris Peco
    Member

    It is not possible to create tables from unannotated Java classes as there just isn’t enough information. This is why hbm.xml files are used or annotated classes are used by Hibernate, which do provide enough information to generate DDL. Generating DDL from mapping files is a planned feature, but does not exist in the current toolset.

    Regards,
    Peco

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: forward engineering? create tables from java classes

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