Generating DB + Java Code from ERD


I am evaluating SDE for Eclipse.
I generated a simple ERD and want to generate the DB and Java Code from that.
So far this worked -> I got the tables in the DB (MySql) and I got the simple Java classes.


  • How do I generate the applicable ready to use hibernate mapping code?
  • How do I generate getters and setters inside the javacode?

Thanks for your help!
Cheers B

Hi Björn Tietjens,

Thanks for your post. For your questions:

  1. For developing application by the generated Java Object-Relational Mapping (ORM) code, you can refer to the following link:

  2. We will automatically generate setters and getters for Persistable attributes. You can set Persistable of attribute under ORM Attribute Detail in Attribute Specification dialog (as shown as attached image).

Hope these help. If there is any further inquiry, please feel free to contact me.

Best regards,
Lilian Wong