Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.1.0) Part Number B28221-02 |
|
|
View PDF |
The ejb3-toplink-sessions.xml
file is applicable only if you are using the TopLink JPA preview persistence provider.
Note:
By default, OC4J uses the TopLink Essentials JPA persistence provider. In this case, you can configure TopLink session-level options using TopLink JPA extensions ("Accessing TopLink API at Run Time With TopLink Essentials JPA Persistence").This section describes the following:
For more information, see "What is the ejb3-toplink-sessions.xml File?".
For EJB 3.0 applications, if the only JDK 1.5 language extension that your entity classes use are annotations, you can use the TopLink Workbench to create and configure a ejb3-toplink-sessions.xml
file. Oracle recommends using the TopLink Workbench to create and configure this file.
For more information, see the following:
"Understanding the TopLink Workbench" in the Oracle TopLink Developer's Guide
"Creating project.xml with TopLink Workbench" in the Oracle TopLink Developer's Guide.