ERD generation

Hellu,

How is it possible to generate ERD diagrams from code?

If not, when will this feature be available in SDE?

Regards,
Ed

Hello edbras,

This is supported. Please follow the steps below:

  1. Synchronize from code to UML class models
  2. Create a class diagram for the entity class models
  3. Right-click on a class and select Stereotypes > Stereotypes… from the popup menu.
  4. Assign <> to the class
  5. Right-click on the diagram and select Synchronize to Entity Relationship Diagram from the pop-up menu.

Hope this helps.

Best regards,
Jick

Hellu,

Thanks for the answer.
But how can I map two classes to one table?
Suppose you have a person entity and a Address value type that is connected one to one with the person and only with that person.
So you want the address properties mapped to the Person table, just as explained in the Hibernate Java Persistency book.

What about hibernate mapping forward engineering?

Regards,
Ed Bras

Hello edbras,

I regret to say that we do not support mapping two classes to one table at this moment.

Best regards,
Jick