Skip to main content

Eclipse Web Tools Platform 3.3
New and Noteworthy

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.

    Make Persistent Menu

    Make Persistent Wizard

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.

    JAXB Facet

    Dali has also added a JAXB Project, which will give you a pre-configured project based on Java and JAXB support.

    JAXB Project

    A new platform option has been added to specifically support EclipseLink 2.2.

    EclipseLink 2.2 platform

JAXB content assist and validation

    Schemas can now be registered for the purpose of validation and content assist in Dali:

    Schema Repository

    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.

    JAXB Content Assist

    Here is an example of validation against the schema:

    JAXB Validation

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

    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 New... Wizard

    DBWS Builder wizard:

    DBWS 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


    Java Refactoring

    Dali also participates in the following Mapping File refactorings:
    • Delete/Rename/Move orm.xml mapping file
    • Delete/Rename/Move source folder

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.

    JPQL Content Assist - Keywords

    Dali also provides content assist for type and attribute values.

    JPQL Content Assist - Attributes

    Validation can help you spot broken queries while writing them, or after refactoring your object model.

    JPQL Validation

WTP Logo Banner

Back to the top