Eclipse Web Tools Platform
3.3 | Back |
Dali Java Persistence Tools
New Make Persistent... Wizard
-
Dali has added a Make Persistent... wizard to the JPA Tools menu which will allow
the user to easily make one or more Java classes into persistent entities. The entities
can be added via Java annotation or via an XML Mapping File. This is especially
useful for creating many entities at once via multi-select.
JAXB Version and Library Management
-
Dali has expanded its JAXB support beyond class and schema generation. We now offer a
JAXB Facet, which adds additional support for JAXB version and library management in your
faceted WTP project. In the future this will also enable validation and code completion of your
JAXB persistent model.
Dali has also added a JAXB Project, which will give you a pre-configured project based on Java and JAXB support.
EclipseLink 2.2 support
-
A new platform option has been added to specifically support EclipseLink 2.2.
JAXB content assist and validation
-
Schemas can now be registered for the purpose of validation and content assist in Dali:
Dali now provides content assist and validation for JAXB in a similar fashion to what currently exists in our JPA tooling. This is especially helpful when doing meet-in-the-middle mapping. Here is an example of using code assist for defining the type name for an XmlType.
Here is an example of validation against the schema:
New validation for JPA mappings
-
Dali has added additional validation to a number of areas in the past two milestones
including:
- Converter names
- Converter class
- Entity names
- Query names
- ElementCollection
EclipseLink Database Web Services (DBWS)
-
Dali has added a wizard in M6 to provide IDE access to the EclipseLink DWBS Builder functionality.
DBWS provides simple access to relational database content via a web service using
Java EE compliant access, all without writing Java code. The Builder wizard can be accessed via the New... menu
and can be used with a Dynamic Web Project. See EclipseLink DBWS
for more information.
DBWS Builder wizard:
Refactoring support for Java Type level and Mapping File refactoring
-
Dali now participates in the following Java Type refactorings:
- Delete/Rename/Move Java class
- Delete/Rename/Move Java package
- Delete/Rename/Move Java source folder
- Delete/Rename/Move orm.xml mapping file
- Delete/Rename/Move source folder
Dali also participates in the following Mapping File refactorings:
JPQL Content Assist and Validation
-
Dali is very excited to announce in-source and view based content assist and vaildation for JPQL queries!
With this new functionality your queries will be validated against JPQL syntax and your object model
as you build them! The standard Java Editor content assist can be used to auto-complete your JPQL.
Dali also provides content assist for type and attribute values.
Validation can help you spot broken queries while writing them, or after refactoring your object model.