Oracle Application Server TopLink Getting Started Guide 10g (9.0.4) Part Number B10315-01 |
|
For users that have not previously migrated to Release 2 (9.0.3), this chapter describes how to migrate existing 2.x, 3.x and 4.x projects to Oracle Application Server TopLink 10g (9.0.4). This chapter includes the following sections:
Use the following procedures to upgrade your project from a previous version of the OracleAS TopLink Mapping Workbench.
Open and save the project with 10g (9.0.4).
Use the "Package Rename" procedures and open the project with 10g (9.0.4).
Use the "Package Rename" procedures and open the project with 10g (9.0.4).
If you are migrating an OracleAS TopLink Mapping Workbench project from a version prior to version 3.6, contact Oracle Support Services support for assistance at OracleMetaLink.
Note: The Default Null value for object type mappings was expanded (starting with version 4.6) to differentiate between default and null values. If your 3.6 project contains object type mappings ensure that the default and null values are set properly on the mapping's General tab. For more information, see the Oracle Application Server TopLink Mapping Workbench User's Guide. |
Note:
If you receive Also check your project classes for any references to legacy OracleAS TopLink classes. |
Beginning with Release 2 (9.0.3), the base package for the entire structure became oracle.toplink
. To upgrade existing application source code which refers to OracleAS TopLink API packages and existing OracleAS TopLink Mapping Workbench projects previous to Release 2 (9.0.3), you must use the Package Rename tool.
Note: If you are upgrading from a version previous to Release 2 (9.0.3), you must convert the package names before you open your OracleAS TopLink project(s) in 10g (9.0.4). |
Use the Package Rename tool on your:
The Package Rename tool works on plain text files and should not be used with binary files (such as .jar
).
Use this procedure to upgrade your existing pre-Release 2 (9.0.3) application source code and OracleAS TopLink Mapping Workbench projects to version 10g (9.0.4).
packageRename.cmd/sh
program located in the <ORACLE_HOME>
/toplink/bin
directory. You need to specify three parameters on the command line:
Table 3-1, Table 3-2, Table 3-3 and Table 3-4 identify the name changes between version 3.x and 10g (9.0.4).
Version 3.x | Version 4.x | Release 2 (9.0.3) | 10g (9.0.4) |
---|---|---|---|
|
|
|
|
OracleAS TopLink 10g (9.0.4) is backward compatible with previous releases however, you must update the DOCTYPE headers for the Sessions XML files to read as follows:
|
Copyright © 2000, 2003 Oracle Corporation. All Rights Reserved. |
|