Oracle® TopLink |
API Modifications
10g (10.1.3.1.0)
September 2006
This document describes the API modifications in Oracle TopLink as of 10g Release 3 (10.1.3.0.0).
This document provides information on:
The following tables list the API replaced as of 10g Release 3 (10.1.3.0.0):
Core Code (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Database Login (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EJB (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
The whole class |
|
|
|
The whole class |
|
The following tables list the API removed as of 10g Release 3 (10.1.3.0.0):
Flex LM Licensing
| Class Name | Method Name |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EJB (oracle.toplink.*)
| Class Name | Method Name |
|---|---|
|
|
Reference to |
ProxySession
| Class Name | Method Name |
|---|---|
|
|
The whole class |
|
|
The whole class |
|
|
|
|
|
|
|
|
|
|
|
|
The following tables list the API deprecated as of 10g Release 3 (10.1.3.0.0):
|
Note: Because deprecated classes and moved classes have the same name, you may get compile errors if you useimport * to import classes from both the old package and the new package.
To avoid these errors, use |
publicinterface (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
Footnote 1 oracle.toplink.publicinterface.DatabaseSession was moved to an internal package and renamed to oracle.toplink.internal.sessions.DatabaseSessionImpl. The replacement public API for oracle.toplink.publicinterface.DatabaseSession is oracle.toplink.sessions.DatabaseSession.
Footnote 2 oracle.toplink.publicinterface.Session was moved to an internal package and renamed to oracle.toplink.internal.sessions.AbstractSessionImpl. The replacement public API for oracle.toplink.publicinterface.Session is oracle.toplink.sessions.Session. Note however, that two methods from oracle.toplink.publicinterface.Session (executeNonSelectingSQL and executeSQL) have been undeprecated in the current release (see Table: SQL Execution Methods on Session (oracle.toplink.*)).
Footnote 3 oracle.toplink.publicinterface.UnitOfWork was moved to an internal package and renamed to oracle.toplink.internal.sessionl.UnitOfWorkImpl. The replacement public API for oracle.toplink.publicinterface.UnitOfWork is oracle.toplink.sessions.UnitOfWork.
oraclespecific (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
|
|
|
Whole class |
None |
Footnote 1 oracle.toplink.oraclespecific.Oracle9Specific was moved to an internal package and renamed to oracle.toplink.internal.platform.database.oracle.Oracle9Specific. The replacement public API for oracle.toplink.oraclespecific.Oracle9Specific is oracle.toplink.platform.database.oracle.Oracle9Specific.
Footnote 2 oracle.toplink.oraclespecific.TopLinkXMLType was a miscellaneous class, which does not have a replacement API.
databaseaccess (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
Whole class |
|
EJB Mapping for BEA WebLogic 6.1
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
None |
A warning will be added at the beginning of: |
Converter Mappings (oracle.toplink.*)
| Class Name | Method Name | Replacement API |
|---|---|---|
|
|
The whole class |
|
|
|
The whole class |
|
|
|
The whole class |
|
XMLCommandConverter (oracle.toplink.*
| Class Name | Method Name |
|---|---|
|
|
The whole class |
|
|
The whole class |
|
|
The whole class |
|
|
|
|
|
|
|
|
|
Remote Protocols (oracle.toplink.*)
| Class Name | Method Name |
|---|---|
|
|
The whole package |
|
|
The whole package |
|
|
The whole package |
|
|
References for any of |
|
|
References for any of |
|
|
The whole class |
|
|
The whole class |
|
|
The whole class |
|
|
References for any of |
The following table lists the API un-deprecated as of 10g Release 3 (10.1.3.0.0):
Any Session or ClassDescriptor method that returns Vector or Hashtable will eventually be changed to return List or Map, respectively. To future proof your application code, cast Vector and Hashtable return types to List or Map, respectively. For example, although the Javadoc for ClassDescriptor method getMappings is java.util.Vector, you should cast the returned value to List:
List mappings = (List) descriptor.getMappings();
Other changes that now return Map, include the following:
ClassDescriptor.getQueryKeys(); ClassDescriptor.getProperties(); DescriptorQueryManager.getQueries(); EISInteraction.getProperties(); Session.getProperties(); Session.getQueries(); getAttributesToAlwaysInclude(); getSpecialOperations(); getValuesToExclude();
Oracle TopLink API Modifications, 10g (10.1.3.1.0)
The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.