Show TOC Start of Content Area

Object documentation JPA Development Perspective  Locate the document in its SAP Library structure

Definition

The JPA Development perspective provides tools for creating and managing Java persistent entities.

Use

You use the JPA Development perspective to:

      Create entities

      Edit entities

      Set persistence properties of entities and their fields

      Set mappings between entities and database tables

      Set inheritance and relationship mappings

To open the JPA Development perspective, choose Window Open Perspective Other JPA Development.

Structure

The JPA Development perspective contains the following views:

·        JPA Structure view

You use the JPA Structure view to browse entities and their fields. The JPA Structure view uses meaningful icons to indicate entity and field mapping.

·        Outline view

You use the Outline view to browse package and import declarations, entity classes and their fields and methods.

·        JPA Details view

In the JPA Details view, you:

¡        map java classes as entities

¡        change entities’ fields

¡        set mappings of entities and fields to database tables and schemas

¡        edit persistence properties

¡        map inheritance

¡        map relationships

¡        generate primary keys

Integration

Additionally, the SAP NetWeaver Developer Studio provides the following views that enable you to work with your database:

      Data Source Explorer view

In the Data Source Explorer view you manage database connections and database tables. You can create a connection, reconnect to the database, and interact with the database runtime.

      SQL Results view

In the SQL Results view, you monitor operations on database tables.

More Information

For more information about the JPA development tools, refer to the Dali Java Persistence Tools User Guide, provided by the SAP NetWeaver Developer Studio help content.

End of Content Area