Skip Headers
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3)
B14428-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

TopLink Persistence Manager Support

Table A-1 summarizes which orion-ejb-jar.xml options are applicable to TopLink CMP. For example:

Table A-1 OC4J orion-ejb-jar.xml Features and TopLink

orion-ejb-jar.xml Feature Configurable in orion-ejb-jar.xml Configurable in toplink-ejb-jar.xml

<entity-deployment>



    clustering-schema

Supported


Unupported


    copy-by-value

Supported


Unupported


    data-source

Supported


Unupported


    location

Supported


Unupported


    max-instances

Supported


Unupported


    min-instances

Supported


Unupported


    max-tx-retries

Supported


Unupported


    disable-wrapper-cache

Supported


Unupported


    name

Supported


Unupported


    pool-cache-timeout

Supported


Unupported


    wrapper

Supported


Unupported


    local-wrapper

Supported


Unupported


    call-timeout

Unupported


Supported


    exclusive-write-access



        true

Unupported


Supported


        false

Unupported


Unupported


    do-select-before-insert



        true

Unupported


Unupported


        false

Unupported


Unupported


    isolation

Unupported


Supported


    locking-mode



        pessimistic

Unupported


Supported


        optimistic

Unupported


Unupported


        read-only

Unupported


Supported


        old_pessimistic

Unupported


Unupported


    update-changed-fields-only



        true

Unupported


Supported


        false

Unupported


Unupported


    table

Unupported


Supported


    force-update



        true

Unupported


Unupported


        false

Unupported


Supported


    data-synchronization-option



        ejbCreate

Unupported


Unupported


        ejbPostCreate

Unupported


Unupported


    batch-size



        Any value greater than 1

Unupported


Unupported


<ior-security-config>

Supported


Unupported


<env-entry-mapping>

Supported


Unupported


<resource-ref-mapping>

Supported


Unupported


<resource-env-ref-mapping>

Supported


Unupported


<primkey-mapping>

Unupported


Supported


<cmp-field-mapping>



    one-to-one-join



        inner

Unupported


Supported


        outerFoot 1 

Unupported


Unupported


    shared

Unupported


Supported


<finder-method>

Unupported


Supported


<persistence-type>Foot 2 

Unupported


Supported



Footnote 1 TopLink supports both outer and inner joins at run time.You can manually configure EJB descriptors with these options. For more information, "Understanding TopLink Queries" in the Oracle TopLink Developer's Guide.

Footnote 2 The persistence-type attribute's table column size, if present, is discarded. For more information, "Migrating OC4J Orion Persistence to OC4J TopLink Persistence" in the Oracle TopLink Developer's Guide.

For EJB 3.0 applications, you can access TopLink persistence manager API by augmenting orion-ejb-jar.xml configuration with TopLink-specific deployment descriptor files ejb3-toplink-sessions.xml and toplink-ejb-jar.xml. For more information, see "Customizing the TopLink Entity Manager".

For EJB 2.1 applications, you can access TopLink persistence manager API using orion-ejb-jar.xml element pm-properties. For more information, see "Customizing the TopLink Persistence Manager".


Note:

When using OC4J with TopLink, use TopLink Workbench to modify the toplink-ejb-jar.xml file. Refer to the Oracle TopLink Developer's Guide for complete information on migrating information from the orion-ejb-jar.xml file.

The ejb3-toplink-sessions.xml and toplink-ejb-jar.xml file conform to the XML schema documents located at <OC4J_HOME>\toplink\config\xsds.