# JPA Diagram Editor Support for JPA 2.0

- The JPA diagram editor supports the new style One-to-Many unidirectional relationship. It means that in JPA 2.0 projects the corresponding relationship attribute will be created with additional @JoinColumns(s) annotation, so that the corresponding DB schema will be created without additional join table.

  Note: This behavior is optional. You may choose from the editor preference page or project property page to create this relationship (in JPA 2.0 projects) compliant with JPA 1.0 specification, i.e. - without the additional @JoinColumns(s) annotation.

- The JPA diagram editor supports embedding an embeddable either in an entity or in another embeddable.

- The JPA diagram editor supports collections of embeddables and primitives. It means that when a new attribute of collection type is added, it will be annotated with the @ElementCollection annotation.

- The JPA diagram editor supports creation and visualization of relationships between embeddables and entities.

- The JPA diagram editor supports derived identifiers.