Part I Development Tasks and Tools
1. Setting Up a Development Environment
3. Using Ant with Enterprise Server
Part II Developing Applications and Application Components
Additional Database Properties
Primary Key Generation Defaults
Changing the Persistence Provider
Restrictions and Optimizations
Using @OrderBy with a Shared Session Cache
Using BLOB or CLOB Types with the Inet Oraxo JDBC Driver
Named Native Queries and JDBC Queries
8. Developing Web Applications
9. Using Enterprise JavaBeans Technology
10. Using Container-Managed Persistence
13. Developing Lifecycle Listeners
Part III Using Services and APIs
14. Using the JDBC API for Database Access
15. Using the Transaction Service
16. Using the Java Naming and Directory Interface
Sun GlassFish Enterprise Server support for the Java Persistence API includes all required features described in the Java Persistence Specification, also known as JSR 317. The Java Persistence API can be used with non-EJB components outside the EJB container.
The Java Persistence API provides an object/relational mapping facility to Java developers for
managing relational data in Java applications. For basic information about the Java Persistence
API, see Part VI, Persistence, in The Java EE 6 Tutorial, Volume I.
This chapter contains Enterprise Server specific information on using the Java Persistence API in the following topics:
Note - The default persistence provider in the Enterprise Server is based on the EclipseLink Java Persistence API implementation. All configuration options in EclipseLink are available to applications that use the Enterprise Server's default persistence provider.
Note - The Web Profile of the Enterprise Server supports the EJB 3.1 Lite specification, which allows enterprise beans within web applications, among other features. The full Enterprise Server supports the entire EJB 3.1 specification. For details, see JSR 318.