Skip to main content

Eclipse Web Tools Platform 2.0 RC0
New and Noteworthy

Back

Dali JPA Tools

New JPA Project Configuration

    New Project configuration options have been added for M7 including the ability to choose between a server runtime implementation or a user defined implementation library. Also included is a Persistent Class Management section which controls how Dali handles the inclusion of Entities in a Persistent Unit. In general, if you are using a container that supports discovering Entities then you can select the "Discover annotated classes automatically". If you are outside the container, you can choose, Annotated classes must be listed in persistence.xml". This is the safest option if you are not sure which is right, since it should work for both cases.

    JPA Facet Config

JPA Annotation Value Code Completion

    The ability to use code complete inside JPA Annotations has been added in M7. This functionality works for most places where table and column names are specified in annotations, as well as choices for mappedBy.

    Here is an example of table completion:

    Table Completion

    Here is an example of column name completion:

    Column Completion

XML Descriptor Support

    The ability to add Persistent Types (Entities, etc) to the ORM XML has been added in this milestone. In addition, the ability to add non-default mappings has also been added. Right-click in the JPA Structure view tree to see these options.

    Add Persistent Type Dialog

New Mapping Options

    New mapping options have been added, including support for cascade on appropriate mapping types. In addition to the new options, the UI forms have been refined.

    One to Many Mapping

Back to the top