Skip Headers

Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g Release 3 (10.1.3) B14428-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# 7 Using EJB 3.0 Persistence API

This chapter describes the various options that you can configure in order to use an EJB 3.0 entity.

Note: In this release, OC4J supports a subset of the functionality specified in the EJB 3.0 public review draft. You may need to make code changes to your EJB 3.0 OC4J application after the EJB 3.0 specification is finalized and OC4J is updated to full EJB 3.0 compliance. For more information, see "Understanding EJB Support in OC4J". There are no OC4J-proprietary EJB 3.0 annotations. For all OC4J-specific configuration, you must still use the EJB 2.1 `orion-ejb-jar.xml` file.

Table 7-1 lists these options and indicates which are basic (applicable to most applications) and which are advanced (applicable to more specialized applications).

For more information, see:

- "What is an EJB 3.0 Entity?"

- "Implementing an EJB 3.0 Entity"

Table 7-1 Configurable Options for an EJB 3.0 Entity

Options | Type
--- | ---
"Configuring an EJB 3.0 Entity Primary Key" | Basic
"Configuring Table and Column Information" | Basic
"Configuring an EJB 3.0 Entity Container-Managed Relationship Field" | Basic
"Configuring a Basic Mapping" | Basic
"Configuring a Large Object Mapping" | Advanced
"Configuring a Serialized Object Mapping" | Advanced
"Configuring a One-to-One Mapping" | Basic
"Configuring a Many-to-One Mapping" | Basic
"Configuring a One-to-Many Mapping" | Basic
"Configuring a Many-to-Many Mapping" | Basic
"Configuring an Aggregate Mapping" | Advanced
"Configuring Optimistic Lock Version Field" | Advanced
"Using EJB 3.0 Query API" | Basic
"Configuring Inheritance for an EJB 3.0 Entity" | Advanced
"Configuring Lazy Loading on Finder Methods" | Basic
"Configuring Bean Instance Pool Size" | Basic
"Configuring Bean Instance Pool Timeouts for Entity Beans" | Advanced
"Configuring a Lifecycle Callback Method for an EJB 3.0 Entity" | Advanced