EclipseLink Solutions Guide for EclipseLink
Release 2.7
List of Examples
3-1 persistence.xml File With JNDI Data Source Using JTA
3-2 JDBC Data Source Defined in the name-jdbc.xml File
3-3 JDBC Module Defined in the weblogic-application.xml File
3-4 JTA Data Source Definition in the persistence.xml File
3-5 non-JTA Data Source Definition in the persistence.xml File
3-6 Server Domain config.xml File
4-1 Sample persistence.xml File
6-1 Sample persistence.xml for a container-managed persistence unit
6-2 Sample persistence.xml for an application-managed persistence unit
8-1 Sample Hibernate Entity Annotation
8-2 Custom Generator for Sequence Values
8-3 Persistence File for an Application that Uses Hibernate
8-4 Persistence File Modified for EclipseLink
9-1 Using Multiple Databases
9-2 The persistence.xml File for a Composite Persistence Unit
12-1 Entity Class that Uses Property Access
12-2 Virtual Access Using Default get and set Method Names
12-3 Overriding get and set Methods
12-4 Using Property Access
12-5 A Base Class for Extensible Classes
12-6 An Extensible Customer Class
12-7 A Nonextensible Address Class
12-8 An Extensible PhoneNumber Class
12-9 Defining Virtual Properties for Tenant 1
12-10 Tenant 1 Code to Provide the Data Associated with Virtual Properties
12-11 XML Output from the Customer Class for Tenant 1
12-12 Defining Virtual Properties for Tenant 2
12-13 Tenant 2 Code to Provide the Data Associated with Virtual Properties
12-14 XML Output from the Customer Class for Tenant 2
15-1 Employee Entity
15-2 Address Entity
15-3 PhoneNumber Entity
15-4 Department Entity
15-5 Employee Entity with Compound Primary Keys
15-6 PhoneNumber Entity
15-7 Employee Entity as Target Object
15-8 PhoneNumber Class as Source Object
15-9 PhoneNumber Customizer with Updated Key Mappings
15-10 Example XML Schema
15-11 Customer Object with Mapped id Property
15-12 Mapping id as an Attribute in OXM Metadata Format
15-13 PhoneNumber Object with Mapped number Property
15-14 Mapping number as an Attribute in OXM Metadata Format
15-15 Customer Object Mapping Values to a Simple Sequence
15-16 Mapping Sequential Attributes in OXM Metadata Format
15-17 Customer Object Mapping Properties to Sub-elements
15-18 Mapping Attributes as Sub-elements in OXM Metadata Format
15-19 Customer Object Mapping Values by Position
15-20 Updating XML Binding Information in the Mapping File
15-21
15-22 Customer Object Mapping to an Attribute Value
15-23 Address Object Mapping to an Attribute Value
15-24 PhoneNumber Object Mapping to an Attribute Value
15-25 XML Node with Self-Mapped Address Element
15-26 Specifying the Input Stream and Creating the DynamicJAXBContext
15-27 Sample XML Schema Document
15-28 customer.xsd
15-29 address.xsd
15-30 Implementing an EntityResolver
15-31 Passing in the Entityresolver
15-32 Creating the Dynamic Entity
15-33 Standard Dynamic JAXB Marshaller
15-34 Updated XML Document Showing <address> Element and Its Attributes
15-35 Standard Dynamic JAXB Unmarshaller
15-36
16-1 Marshalling and Unmarshalling
16-2 Using a Map
16-3 Using MarshallerProperties and UnarshallerProperties
16-4 Using Basic JSON Binding
16-5 Using External Bindings
16-6 Using JSON to Bootstrap a JAXBContext
16-7 Using JSON Data Types
16-8 Using a Prefix
16-9 Setting a Prefix in a Map
16-10 Marshalling no Root Element Documents
16-11 Unmarshalling no Root Element Documents
16-12 Using Namesapces
16-13 Marshalling Empty Collections
16-14 Using @XmlAttributes
16-15 Using a value Wrapper
16-16 Customizing the Name of the Value Wrapper
16-17 Using a Map
17-1 Changing transaction type and defining connection information
17-2 A persistence.xml File Specifying the Java SE Platform Configuration
17-3 A persistence.xml File Specifying the Java SE Platform Configuration, for use with a Property Map
17-4 Sample Configuration
18-1 Using the @Cache Annotation
18-2 Enabling JoinFetching
18-3 Enabling Change Tracking
18-4 Enabling Serialized Object Policy Using Annotations
18-5 Enabling Serialized Object Policy Using eclipselink-orm.xml
18-6 Enabling Serialized Object Policy in a Customizer
18-7 Performance Profiler Output
20-1 Sample persistence.xml File
20-2 Defining the @Version Annotation
21-1 Using @NoSql Annotation with JSON
21-2 Sample Mappings
21-3 Using @Version
21-4 Oracle NoSQL JPQL Examples
21-5 MongoDB JPQL Examples
21-6 Oracle NoSQL Native Query
21-7 MongoDB Native Query
21-8 Oracle NoSQL persistence.xml Example
21-9 MongoDB persistence.xml Example
Copyright © 2014 by The Eclipse Foundation under the
Eclipse Public License (EPL)