| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> |
| <meta http-equiv="Content-Style-Type" content="text/css" /> |
| <meta http-equiv="Content-Script-Type" content="text/javascript" /> |
| <title>Implementing the Solution | EclipseLink 2.6 Understanding EclipseLink</title> |
| <meta name="generator" content="Oracle DARB XHTML Converter (Mode = document) - Version 1.0.22 Build 1" /> |
| <meta name="date" content="2014-06-10T10:35:14Z" /> |
| <meta name="robots" content="noarchive" /> |
| <meta name="doctitle" content="Implementing the Solution" /> |
| <meta name="relnum" content="Release 2.6" /> |
| <link rel="stylesheet" type="text/css" href="../../dcommon/style.css" media="screen" /> |
| <link rel="copyright" href="../../dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> |
| <link rel="start" href="../../index.htm" title="Home" type="text/html" /> |
| <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> |
| <link rel="prev" href="sect1test001.htm" title="Previous" type="text/html" /> |
| <link rel="next" href="migrnativetoplink002.htm" title="Next" type="text/html" /> |
| <!-- START: Disqus --><script type="text/javascript"> var disqus_developer = 0; </script><!-- END: Disqus --><!-- START: Sharethis --><script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript" src="http://s.sharethis.com/loader.js"></script> <!-- END: Sharethis --></head> |
| <body bgcolor="#FFFFFF"><iframe id="docheader" frameborder="0" framemargin="0" scrolling="no" src="../../dcommon/header.html"></iframe><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript"> google.load('search', '1', {language : 'en'}); google.setOnLoadCallback(function() { var customSearchOptions = {}; var googleAnalyticsOptions = {}; googleAnalyticsOptions['queryParameter'] = 'q'; googleAnalyticsOptions['categoryParameter'] = ''; customSearchOptions['googleAnalyticsOptions'] = googleAnalyticsOptions; var customSearchControl = new google.search.CustomSearchControl( '016171230611334810008:enkkfjmsqju', customSearchOptions); customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); var options = new google.search.DrawOptions(); options.setSearchFormRoot('cse-search-form'); customSearchControl.draw('cse', options); }, true);</script><link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" /><div id="cse" style="width:100%;"></div> |
| <div class="header"><a id="top" name="top"></a> |
| <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> |
| <tr> |
| <td align="left" valign="top"><font face="helvetica, arial, sans-serif"><b>EclipseLink Solutions Guide for EclipseLink</b><br /> |
| Release 2.6</div></td> |
| <td valign="bottom" align="right" width="144"> |
| <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> |
| <tr> |
| <td> </td> |
| <td align="center" valign="top"><a href="toc.htm"><img src="../../dcommon/images/contents.png" alt="Go To Table Of Contents" border="0" height="16" width="16" /><br /> |
| </td><td> </td><td align="center"><a href="../../" target="_top" class="external text" title="Search" rel="nofollow"><img src="../../dcommon/images/search.png" alt="Search" style="border:0;" /><br /><span class="mini"></span></a></td><td> </td><td align="center"><a href="../eclipselink_otlcg.pdf" title="PDF" target="_blank"><img src="../../dcommon/images/pdf_icon.png" style="padding-right:5px;border:0" alt="PDF"></a></td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <hr /> |
| <table class="navigation simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100" align="center"> |
| <tr> |
| <td align="center"><a href="sect1test001.htm"><img src="../../dcommon/images/larrow.png" alt="Previous" border="0" height="16" width="16" /></a></td> |
| <td align="center"><a href="migrnativetoplink002.htm"><img src="../../dcommon/images/rarrow.png" alt="Next" border="0" height="16" width="16" /></a></td> |
| <td> </td> |
| </tr> |
| </table> |
| </div> |
| <!-- class="header" --> |
| <div class="ind"><!-- End Header --> |
| <script type="text/javascript" class="oac_no_warn"> |
| <!-- // <![CDATA[ |
| window.name='migrnativetoplink001' |
| // ]]> --> |
| </script> <script type="text/javascript" class="oac_no_warn"> |
| // <![CDATA[ |
| function footdisplay(footnum,footnote) { |
| var msg = window.open('', 'NewWindow' + footnum, |
| 'directories=no,height=120,location=no,menubar=no,resizable=yes,' + |
| 'scrollbars=yes,status=no,toolbar=no,width=598'); |
| msg.document.open('text/html'); |
| msg.document.write('<!DOCTYPE html '); |
| msg.document.write('PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" '); |
| |
| msg.document.write('"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'); |
| msg.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>'); |
| msg.document.write('Footnote ' + footnum); |
| msg.document.write('<\/title><meta http-equiv="Content-Type" '); |
| msg.document.write('content="text/html; charset=utf-8" />'); |
| msg.document.write('<meta http-equiv="Content-Script-Type" '); |
| msg.document.write('content="text/javascript" />'); |
| msg.document.write('<style type="text/css"> <![CDATA[ '); |
| msg.document.write('h1 {text-align: center; font-size: 14pt;}'); |
| msg.document.write('fieldset {border: none;}'); |
| msg.document.write('form {text-align: center;}'); |
| msg.document.write(' ]]\u003e <\/style>'); |
| msg.document.write('<\/head><body><h1>Footnote ' + footnum + '<\/h1><p>'); |
| msg.document.write(footnote); |
| msg.document.write('<\/p><form action="" method="post"><fieldset>'); |
| msg.document.write('<input type="button" value="OK" '); |
| msg.document.write('onclick="window.close();" />'); |
| msg.document.write('<\/fieldset><\/form><\/body><\/html>'); |
| msg.document.close(); |
| msg.focus(); |
| } |
| // ]]> |
| </script> <noscript> |
| <p>The script content on this page is for navigation purposes only and does not alter the content in any way.</p> |
| </noscript><a id="BCGGFGDG" name="BCGGFGDG"></a><a id="TLADG908" name="TLADG908"></a> |
| <div class="sect1"> |
| <h1 class="sect1"><font face="arial, helvetica, sans-serif" color="#330099">Implementing the Solution</font></h1> |
| <p>This section contains the following tasks:</p> |
| <ul> |
| <li> |
| <p><a href="#BCGGFIGC">Task 1: Prerequisites</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGFFCHI">Task 2: Replace Deprecated and Removed Native APIs</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGJDFJB">Task 3: Rename Packages</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGIFBHC">Task 4: Convert XML Configuration Files</a></p> |
| </li> |
| </ul> |
| <a id="BCGGFIGC" name="BCGGFIGC"></a><a id="TLADG909" name="TLADG909"></a> |
| <div class="sect2"><!-- infolevel="all" infotype="General" --> |
| <h2 class="sect2"><font face="arial, helvetica, sans-serif" color="#330099">Task 1: Prerequisites</font></h2> |
| <ul> |
| <li> |
| <p>EclipseLink 2.4 or later.</p> |
| <p>Download EclipseLink from <code><a href="http://www.eclipse.org/eclipselink/downloads/">http://www.eclipse.org/eclipselink/downloads/</a></code>.</p> |
| </li> |
| <li> |
| <p>(Optional) EclipseLink Workbench. The EclipseLink Workbench is available in EclipseLink downloads. See the EclipseLink download page at <code><a href="http://www.eclipse.org/eclipselink/downloads/">http://www.eclipse.org/eclipselink/downloads/</a></code>.</p> |
| </li> |
| </ul> |
| </div> |
| <!-- class="sect2" --> |
| <a id="BCGFFCHI" name="BCGFFCHI"></a><a id="TLADG910" name="TLADG910"></a> |
| <div class="sect2"><!-- infolevel="all" infotype="General" --> |
| <h2 class="sect2"><font face="arial, helvetica, sans-serif" color="#330099">Task 2: Replace Deprecated and Removed Native APIs</font></h2> |
| <p>APIs that were deprecated in releases before TopLink 11g Release 1 (11.1.1) were removed in EclipseLink. If your application uses any of those deprecated APIs or any APIs that were already replaced or removed from TopLink, you must update the application to use current APIs.</p> |
| <p>The following sections lists the replaced and removed APIs, with suggested substitutions:</p> |
| <ul> |
| <li> |
| <p><a href="#BCGDBICE">APIs Replaced,</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGJJGEF">Deprecated APIs,</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGGJAFJ">Removed API,</a></p> |
| </li> |
| </ul> |
| <div align="center"> |
| <div class="inftblnote"><br /> |
| <table class="Note oac_no_warn" summary="" border="1" width="80%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> |
| <tbody> |
| <tr> |
| <td align="left"> |
| <p class="note"><img src="../../dcommon/images/note_icon.png" width="16" height="16" alt="Note" style="vertical-align:middle;padding-right:5px;" />Note:</p> |
| <p>When suggested replacements are in <code>oracle.toplink.*</code> packages, you must also change the package names, as described in <a href="#BCGJDFJB">Task 3: Rename Packages.</a></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="inftblnote" --></div> |
| <a id="BCGDBICE" name="BCGDBICE"></a><a id="TLADG911" name="TLADG911"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">APIs Replaced</font></h3> |
| <p>The following tables list the APIs removed as of TopLink 11<em>g</em> Release 1 (11.1.1.1.). Use the replacement API listed in the tables.</p> |
| <ul> |
| <li> |
| <p><a href="#BCGDDHBC">Table 7-1, "changetracking (oracle.toplink.descriptors.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGDIBCI">Table 7-2, "databaseaccess (oracle.toplink.internal*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGEIDAH">Table 7-3, "jdo (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGGCCBE">Table 7-4, "mappings (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGCAIHH">Table 7-5, "objectrelational (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGDDFAD">Table 7-6, "oraclespecific (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGFEJHH">Table 7-7, "publicinterface (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGHAAEG">Table 7-8, "sdk (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGFJCIC">Table 7-9, "entitymanager (oracle.toplink.sessions.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGDCGAB">Table 7-10, "sessionconfiguration (oracle.toplink.tools.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGCFHFA">Table 7-11, "xml (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGBBFIC">Table 7-12, "XMLCommandConverter (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGFFGIC">Table 7-13, "Remote Protocols (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGGBFEE">Table 7-14, "EJB Mapping for BEA WebLogic 6.1"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGDIBIC">Table 7-15, "mappings (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGDJEEJ">Table 7-16, "descriptors (oracle.toplink.*)"</a></p> |
| </li> |
| </ul> |
| <div class="tblhruleformalwide"><a id="TLADG912" name="TLADG912"></a><a id="sthref23" name="sthref23"></a><a id="BCGDDHBC" name="BCGDDHBC"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-1 changetracking (oracle.toplink.descriptors.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="changetracking (oracle.toplink.descriptors.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for changetracking (oracle.toplink.descriptors.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="14%" /> |
| <col width="30%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t5"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t5"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t5"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t5" headers="r1c1-t5"> |
| <p><code>ChangeTracker</code></p> |
| </td> |
| <td align="left" headers="r2c1-t5 r1c2-t5"> |
| <p><code>getTopLinkPropertyChangeListener</code></p> |
| </td> |
| <td align="left" headers="r2c1-t5 r1c3-t5"> |
| <p><code>._persistence_getPropertyChangeListener</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t5" headers="r1c1-t5"> |
| <p><code>ChangeTracker</code></p> |
| </td> |
| <td align="left" headers="r3c1-t5 r1c2-t5"> |
| <p><code>setTopLinkPropertyChangeListener(PropertyChangeListener)</code></p> |
| </td> |
| <td align="left" headers="r3c1-t5 r1c3-t5"> |
| <p><code>_persistence_setPropertyChangeListener(PropertyChangeListener)</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG913" name="TLADG913"></a><a id="sthref24" name="sthref24"></a><a id="BCGDIBCI" name="BCGDIBCI"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-2 databaseaccess (oracle.toplink.internal*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="databaseaccess (oracle.toplink.internal*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for databaseaccess (oracle.toplink.internal*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="24%" /> |
| <col width="28%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t6"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t6"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t6"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t6" headers="r1c1-t6"> |
| <p><code>.*Platform</code></p> |
| </td> |
| <td align="left" headers="r2c1-t6 r1c2-t6"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r2c1-t6 r1c3-t6"> |
| <p><code>oracle.toplink.platform.database.*Platform</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG914" name="TLADG914"></a><a id="sthref25" name="sthref25"></a><a id="BCGEIDAH" name="BCGEIDAH"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-3 jdo (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="jdo (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for jdo (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="*" /> |
| <col width="33%" /> |
| <col width="33%" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t7"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t7"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t7"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t7" headers="r1c1-t7"> |
| <p><code>.jdo</code></p> |
| </td> |
| <td align="left" headers="r2c1-t7 r1c2-t7"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r2c1-t7 r1c3-t7"> |
| <p>None</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG915" name="TLADG915"></a><a id="sthref26" name="sthref26"></a><a id="BCGGCCBE" name="BCGGCCBE"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-4 mappings (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="mappings (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for mappings (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="29%" /> |
| <col width="17%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t8"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t8"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t8"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t8" headers="r1c1-t8"> |
| <p><code>TypeConversionMapping</code></p> |
| </td> |
| <td align="left" headers="r2c1-t8 r1c2-t8"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r2c1-t8 r1c3-t8"> |
| <p><code>.mappings.converters.TypeConversionConverter</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t8" headers="r1c1-t8"> |
| <p><code>ObjectTypeMapping</code></p> |
| </td> |
| <td align="left" headers="r3c1-t8 r1c2-t8"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r3c1-t8 r1c3-t8"> |
| <p><code>.mappings.converters.ObjectTypeConverter</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t8" headers="r1c1-t8"> |
| <p><code>SerializedObjectMapping</code></p> |
| </td> |
| <td align="left" headers="r4c1-t8 r1c2-t8"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r4c1-t8 r1c3-t8"> |
| <p><code>.mappings.converters.SerializedObjectConverter</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG916" name="TLADG916"></a><a id="sthref27" name="sthref27"></a><a id="BCGCAIHH" name="BCGCAIHH"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-5 objectrelational (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="objectrelational (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for objectrelational (oracle.toplink.*)." dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="20%" /> |
| <col width="16%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t9"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t9"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t9"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t9" headers="r1c1-t9"> |
| <p><code>Oracle8Platform</code></p> |
| </td> |
| <td align="left" headers="r2c1-t9 r1c2-t9"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r2c1-t9 r1c3-t9"> |
| <p><code>oracle.toplink.platform.database.oracle.Oracle8Platform</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG917" name="TLADG917"></a><a id="sthref28" name="sthref28"></a><a id="BCGDDFAD" name="BCGDDFAD"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-6 oraclespecific (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="oraclespecific (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for oraclespecific (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="37%" /> |
| <col width="16%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t10"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t10"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t10"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t10" headers="r1c1-t10"> |
| <p><code>.oraclespecific.NCharacter</code></p> |
| </td> |
| <td align="left" headers="r2c1-t10 r1c2-t10"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r2c1-t10 r1c3-t10"> |
| <p><code>.platform.database.oracle.NCharacter</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t10" headers="r1c1-t10"> |
| <p><code>.oraclespecific.NClob</code></p> |
| </td> |
| <td align="left" headers="r3c1-t10 r1c2-t10"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r3c1-t10 r1c3-t10"> |
| <p><code>.platform.database.oracle.NClob</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t10" headers="r1c1-t10"> |
| <p><code>.oraclespecific.NClob</code></p> |
| </td> |
| <td align="left" headers="r4c1-t10 r1c2-t10"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r4c1-t10 r1c3-t10"> |
| <p><code>.platform.database.oracle.NClob</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t10" headers="r1c1-t10"> |
| <p><code>.oraclespecific.Oracle8Platform</code></p> |
| </td> |
| <td align="left" headers="r5c1-t10 r1c2-t10"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r5c1-t10 r1c3-t10"> |
| <p><code>.platform.database.oracle.Oracle8Platform</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t10" headers="r1c1-t10"> |
| <p><code>.oraclespecific.Oracle9Specific</code> <a id="sthref29" name="sthref29" href="#sthref29" onclick='footdisplay(1,"\u003ccode\u003eoracle.toplink.oraclespecific.Oracle9Specific\u003c/code\u003e was moved to an internal package and renamed to \u003ccode\u003eoracle.toplink.internal.platform.database.oracle.Oracle9Specific\u003c/code\u003e. The replacement public API for \u003ccode\u003eoracle.toplink.oraclespecific.Oracle9Specific\u003c/code\u003e is \u003ccode\u003eoracle.toplink.platform.database.oracle.Oracle9Specific\u003c/code\u003e.")'><sup><font size="-3">Foot </font>1 </sup></a></p> |
| </td> |
| <td align="left" headers="r6c1-t10 r1c2-t10"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r6c1-t10 r1c3-t10"> |
| <p><code>.platform.database.oracle.Oracle9Specific</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t10" headers="r1c1-t10"> |
| <p>.oraclespecific.TopLinkXMLType <a id="sthref30" name="sthref30" href="#sthref30" onclick='footdisplay(2,"\u003ccode\u003eoracle.toplink.oraclespecific.TopLinkXMLType\u003c/code\u003e was a miscellaneous class, which does not have a replacement API.")'><sup><font size="-3">Foot </font>2 </sup></a></p> |
| </td> |
| <td align="left" headers="r7c1-t10 r1c2-t10"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r7c1-t10 r1c3-t10"> |
| <p>None</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <font size="-1"><sup><font size="1">Footnote </font>1 </sup><code>oracle.toplink.oraclespecific.Oracle9Specific</code> was moved to an internal package and renamed to <code>oracle.toplink.internal.platform.database.oracle.Oracle9Specific</code>. The replacement public API for <code>oracle.toplink.oraclespecific.Oracle9Specific</code> is <code>oracle.toplink.platform.database.oracle.Oracle9Specific</code>.<br /></font><font size="-1"><sup><font size="1">Footnote </font>2 </sup><code>oracle.toplink.oraclespecific.TopLinkXMLType</code> was a miscellaneous class, which does not have a replacement API.<br /></font> |
| <div class="tblhruleformalwide"><a id="TLADG918" name="TLADG918"></a><a id="sthref31" name="sthref31"></a><a id="BCGFEJHH" name="BCGFEJHH"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-7 publicinterface (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="publicinterface (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for publicinterface (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="27%" /> |
| <col width="16%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t11"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t11"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t11"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t11" headers="r1c1-t11"> |
| <p><code>DatabaseRow</code></p> |
| </td> |
| <td align="left" headers="r2c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r2c1-t11 r1c3-t11"> |
| <p><code>.sessions.DatabaseRecord</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t11" headers="r1c1-t11"> |
| <p><code>DatabaseSession</code> <a id="sthref32" name="sthref32" href="#sthref32" onclick='footdisplay(1,"\u003ccode\u003eoracle.toplink.publicinterface.DatabaseSession\u003c/code\u003e was moved to an internal package and renamed to \u003ccode\u003eoracle.toplink.internal.sessions.DatabaseSessionImpl\u003c/code\u003e. The replacement public API for \u003ccode\u003eoracle.toplink.publicinterface.DatabaseSession\u003c/code\u003e is \u003ccode\u003eoracle.toplink.sessions.DatabaseSession\u003c/code\u003e.")'><sup><font size="-3">Foot </font>1 </sup></a></p> |
| </td> |
| <td align="left" headers="r3c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r3c1-t11 r1c3-t11"> |
| <p><code>.sessions.DatabaseSession</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t11" headers="r1c1-t11"> |
| <p><code>Descriptor</code></p> |
| </td> |
| <td align="left" headers="r4c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r4c1-t11 r1c3-t11"> |
| <p><code>.descriptors - ClassDescriptor, RelationalDescriptor</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t11" headers="r1c1-t11"> |
| <p><code>DescriptorEvent</code></p> |
| </td> |
| <td align="left" headers="r5c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r5c1-t11 r1c3-t11"> |
| <p><code>.descriptors.DescriptorEvent</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t11" headers="r1c1-t11"> |
| <p><code>DescriptorEventListener</code></p> |
| </td> |
| <td align="left" headers="r6c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r6c1-t11 r1c3-t11"> |
| <p><code>.descriptors</code> - new interface will not extend old interface</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t11" headers="r1c1-t11"> |
| <p><code>DescriptorEventManager</code></p> |
| </td> |
| <td align="left" headers="r7c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r7c1-t11 r1c3-t11"> |
| <p><code>.descriptors</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r8c1-t11" headers="r1c1-t11"> |
| <p><code>DescriptorQueryManager</code></p> |
| </td> |
| <td align="left" headers="r8c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r8c1-t11 r1c3-t11"> |
| <p><code>.descriptors</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r9c1-t11" headers="r1c1-t11"> |
| <p><code>InheritancePolicy</code></p> |
| </td> |
| <td align="left" headers="r9c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r9c1-t11 r1c3-t11"> |
| <p><code>.descriptors</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r10c1-t11" headers="r1c1-t11"> |
| <p><code>Session</code><a id="sthref33" name="sthref33" href="#sthref33" onclick='footdisplay(2,"\u003ccode\u003eoracle.toplink.publicinterface.Session\u003c/code\u003e was moved to an internal package and renamed to \u003ccode\u003eoracle.toplink.internal.sessions.AbstractSessionImpl\u003c/code\u003e. The replacement public API for \u003ccode\u003eoracle.toplink.publicinterface.Session\u003c/code\u003e is \u003ccode\u003eoracle.toplink.sessions.Session\u003c/code\u003e.")'><sup><font size="-3">Foot </font>2 </sup></a></p> |
| </td> |
| <td align="left" headers="r10c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r10c1-t11 r1c3-t11"> |
| <p><code>.sessions.Session</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r11c1-t11" headers="r1c1-t11"> |
| <p><code>UnitOfWork</code><a id="sthref34" name="sthref34" href="#sthref34" onclick='footdisplay(3,"\u003ccode\u003eoracle.toplink.publicinterface.UnitOfWork\u003c/code\u003e was moved to an internal package and renamed to \u003ccode\u003eoracle.toplink.internal.sessionl.UnitOfWorkImpl\u003c/code\u003e. The replacement public API for \u003ccode\u003eoracle.toplink.publicinterface.UnitOfWork\u003c/code\u003e is \u003ccode\u003eoracle.toplink.sessions.UnitOfWork\u003c/code\u003e.")'><sup><font size="-3">Foot </font>3 </sup></a></p> |
| </td> |
| <td align="left" headers="r11c1-t11 r1c2-t11"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r11c1-t11 r1c3-t11"> |
| <p><code>.sessions.UnitOfWork</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <font size="-1"><sup><font size="1">Footnote </font>1 </sup><code>oracle.toplink.publicinterface.DatabaseSession</code> was moved to an internal package and renamed to <code>oracle.toplink.internal.sessions.DatabaseSessionImpl</code>. The replacement public API for <code>oracle.toplink.publicinterface.DatabaseSession</code> is <code>oracle.toplink.sessions.DatabaseSession</code>.<br /></font><font size="-1"><sup><font size="1">Footnote </font>2 </sup><code>oracle.toplink.publicinterface.Session</code> was moved to an internal package and renamed to <code>oracle.toplink.internal.sessions.AbstractSessionImpl</code>. The replacement public API for <code>oracle.toplink.publicinterface.Session</code> is <code>oracle.toplink.sessions.Session</code>.<br /></font><font size="-1"><sup><font size="1">Footnote </font>3 </sup><code>oracle.toplink.publicinterface.UnitOfWork</code> was moved to an internal package and renamed to <code>oracle.toplink.internal.sessionl.UnitOfWorkImpl</code>. The replacement public API for <code>oracle.toplink.publicinterface.UnitOfWork</code> is <code>oracle.toplink.sessions.UnitOfWork</code>.<br /></font> |
| <div class="tblhruleformalwide"><a id="TLADG919" name="TLADG919"></a><a id="sthref35" name="sthref35"></a><a id="BCGHAAEG" name="BCGHAAEG"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-8 sdk (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="sdk (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for sdk (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="14%" /> |
| <col width="*" /> |
| <col width="43%" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t12"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t12"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t12"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t12" headers="r1c1-t12"> |
| <p><code>.sdk</code></p> |
| </td> |
| <td align="left" headers="r2c1-t12 r1c2-t12"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r2c1-t12 r1c3-t12"> |
| <p><code>.eis</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG920" name="TLADG920"></a><a id="sthref36" name="sthref36"></a><a id="BCGFJCIC" name="BCGFJCIC"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-9 entitymanager (oracle.toplink.sessions.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="entitymanager (oracle.toplink.sessions.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for entitymanager (oracle.toplink.sessions*)." dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="16%" /> |
| <col width="18%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t13"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t13"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t13"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t13" headers="r1c1-t13"> |
| <p>All classes</p> |
| </td> |
| <td align="left" headers="r2c1-t13 r1c2-t13"> |
| <p>All methods</p> |
| </td> |
| <td align="left" headers="r2c1-t13 r1c3-t13"> |
| <p>JPA: see <a href="#BCGHJGHF">JPA Persistence Provider Implementation,</a></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG921" name="TLADG921"></a><a id="sthref37" name="sthref37"></a><a id="BCGDCGAB" name="BCGDCGAB"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-10 sessionconfiguration (oracle.toplink.tools.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="sessionconfiguration (oracle.toplink.tools.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for sessionconfiguration (oracle.toplink.tools.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="31%" /> |
| <col width="30%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t14"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t14"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t14"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t14" headers="r1c1-t14"> |
| <p><code>WASXMLLoader</code></p> |
| </td> |
| <td align="left" headers="r2c1-t14 r1c2-t14"> |
| <p>All methods</p> |
| </td> |
| <td align="left" headers="r2c1-t14 r1c3-t14"> |
| <p>None</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG922" name="TLADG922"></a><a id="sthref38" name="sthref38"></a><a id="BCGCFHFA" name="BCGCFHFA"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-11 xml (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="xml (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for xml (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="30%" /> |
| <col width="31%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t15"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t15"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t15"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t15" headers="r1c1-t15"> |
| <p><code>.xml</code></p> |
| </td> |
| <td align="left" headers="r2c1-t15 r1c2-t15"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r2c1-t15 r1c3-t15"> |
| <p><code>.ox</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t15" headers="r1c1-t15"> |
| <p><code>.xmlstream</code></p> |
| </td> |
| <td align="left" headers="r3c1-t15 r1c2-t15"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r3c1-t15 r1c3-t15"> |
| <p><code>.ox</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t15" headers="r1c1-t15"> |
| <p><code>.xml.tools</code></p> |
| </td> |
| <td align="left" headers="r4c1-t15 r1c2-t15"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r4c1-t15 r1c3-t15"> |
| <p>.<code>ox</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t15" headers="r1c1-t15"> |
| <p><code>.xml.xerces</code></p> |
| </td> |
| <td align="left" headers="r5c1-t15 r1c2-t15"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r5c1-t15 r1c3-t15"> |
| <p><code>.ox</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t15" headers="r1c1-t15"> |
| <p><code>.xml.zip</code></p> |
| </td> |
| <td align="left" headers="r6c1-t15 r1c2-t15"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r6c1-t15 r1c3-t15"> |
| <p><code>.ox</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG923" name="TLADG923"></a><a id="sthref39" name="sthref39"></a><a id="BCGBBFIC" name="BCGBBFIC"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-12 XMLCommandConverter (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="XMLCommandConverter (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for XMLCommandConverter (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="*" /> |
| <col width="24%" /> |
| <col width="19%" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t16"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t16"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t16"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t16" headers="r1c1-t16"> |
| <p><code>.remotecommand.XMLCommandConverter</code></p> |
| </td> |
| <td align="left" headers="r2c1-t16 r1c2-t16"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r2c1-t16 r1c3-t16"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t16" headers="r1c1-t16"> |
| <p><code>.transform.xml.XMLSource</code></p> |
| </td> |
| <td align="left" headers="r3c1-t16 r1c2-t16"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r3c1-t16 r1c3-t16"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t16" headers="r1c1-t16"> |
| <p><code>.transform.xml.XMLResult</code></p> |
| </td> |
| <td align="left" headers="r4c1-t16 r1c2-t16"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r4c1-t16 r1c3-t16"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t16" headers="r1c1-t16"> |
| <p><code>.internal.localization.i18n.ExceptionLocalizationResource</code></p> |
| </td> |
| <td align="left" headers="r5c1-t16 r1c2-t16"> |
| <p>"error_loading_resources"</p> |
| </td> |
| <td align="left" headers="r5c1-t16 r1c3-t16"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t16" headers="r1c1-t16"> |
| <p><code>.internal.localization.i18n.ExceptionLocalizationResource</code></p> |
| </td> |
| <td align="left" headers="r6c1-t16 r1c2-t16"> |
| <p>"error_parsing_resources"</p> |
| </td> |
| <td align="left" headers="r6c1-t16 r1c3-t16"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t16" headers="r1c1-t16"> |
| <p><code>.internal.localization.i18n.ExceptionLocalizationResource</code></p> |
| </td> |
| <td align="left" headers="r7c1-t16 r1c2-t16"> |
| <p>"unexpect_argument"</p> |
| </td> |
| <td align="left" headers="r7c1-t16 r1c3-t16"> |
| <p>None</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG924" name="TLADG924"></a><a id="sthref40" name="sthref40"></a><a id="BCGFFGIC" name="BCGFFGIC"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-13 Remote Protocols (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="Remote Protocols (oracle.toplink.*)" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for Remote Protocols (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="*" /> |
| <col width="44%" /> |
| <col width="11%" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t17"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t17"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t17"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t17" headers="r1c1-t17"> |
| <p><code>.remote.corba.orbix</code></p> |
| </td> |
| <td align="left" headers="r2c1-t17 r1c2-t17"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r2c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t17" headers="r1c1-t17"> |
| <p><code>.remote.corba.visibroker</code></p> |
| </td> |
| <td align="left" headers="r3c1-t17 r1c2-t17"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r3c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t17" headers="r1c1-t17"> |
| <p><code>.remote.ejb</code></p> |
| </td> |
| <td align="left" headers="r4c1-t17 r1c2-t17"> |
| <p>Whole package</p> |
| </td> |
| <td align="left" headers="r4c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t17" headers="r1c1-t17"> |
| <p><code>.tools.sessionconfiguration.TopLinkSessionsFactory</code></p> |
| </td> |
| <td align="left" headers="r5c1-t17 r1c2-t17"> |
| <p>References for any of <code>JNDIClusteringService</code> in <code>orbix</code>, <code>visibroker</code> and <code>ejb</code> packages.</p> |
| </td> |
| <td align="left" headers="r5c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t17" headers="r1c1-t17"> |
| <p><code>.tools.sessionconfiguration.DTD2SessionConfigLoader</code></p> |
| </td> |
| <td align="left" headers="r6c1-t17 r1c2-t17"> |
| <p>References for any of <code>JNDIClusteringService</code> in <code>orbix, visibroker</code> and <code>ejb</code> packages.</p> |
| </td> |
| <td align="left" headers="r6c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t17" headers="r1c1-t17"> |
| <p><code>.tools.sessionconfiguration.model.clustering.VisibrokerCORBAJNDIClusteringConfig</code></p> |
| </td> |
| <td align="left" headers="r7c1-t17 r1c2-t17"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r7c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r8c1-t17" headers="r1c1-t17"> |
| <p><code>.tools.sessionconfiguration.model.clustering.OrbixCORBAJNDIClusteringConfig</code></p> |
| </td> |
| <td align="left" headers="r8c1-t17 r1c2-t17"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r8c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r9c1-t17" headers="r1c1-t17"> |
| <p><code>.tools.sessionconfiguration.model.clustering.EJBJNDIClusteringConfig</code></p> |
| </td> |
| <td align="left" headers="r9c1-t17 r1c2-t17"> |
| <p>Whole class</p> |
| </td> |
| <td align="left" headers="r9c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r10c1-t17" headers="r1c1-t17"> |
| <p><code>.tools.sessionconfiguration.XMLSessionConfigProject</code></p> |
| </td> |
| <td align="left" headers="r10c1-t17 r1c2-t17"> |
| <p>References for any of <code>JNDIClusteringService</code> in <code>orbix</code>, <code>visibroker</code> and <code>ejb</code> packages.</p> |
| </td> |
| <td align="left" headers="r10c1-t17 r1c3-t17"> |
| <p>None</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG925" name="TLADG925"></a><a id="sthref41" name="sthref41"></a><a id="BCGGBFEE" name="BCGGBFEE"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-14 EJB Mapping for BEA WebLogic 6.1</font></em></strong></p> |
| <table class="HRuleFormalWide" title="EJB Mapping for BEA WebLogic 6.1" summary="This table shows the classes replaced in TopLink 11.1.1, with their replacements for EJB Mapping for BEA WebLogic 6.1" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="29%" /> |
| <col width="9%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t18"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t18"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t18"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t18" headers="r1c1-t18"> |
| <p><code>toplink-cmp-bean_name.xml</code></p> |
| </td> |
| <td align="left" headers="r2c1-t18 r1c2-t18"> |
| <p>None</p> |
| </td> |
| <td align="left" headers="r2c1-t18 r1c3-t18"> |
| <p>A warning will be added at the beginning of: <code>internal.ejb.cmp.wls11.CMPDeployer.readTypeSpecificData()</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --></div> |
| <!-- class="sect3" --> |
| <a id="BCGJJGEF" name="BCGJJGEF"></a><a id="TLADG926" name="TLADG926"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">Deprecated APIs</font></h3> |
| <p>The following tables list the APIs deprecated in the releases prior to TopLink 11<em>g</em> Release 1 (11.1.1) and therefore removed in that release, due to the substitution of EclipseLink libraries. Use the replacement API indicated.</p> |
| <div align="center"> |
| <div class="inftblnote"><br /> |
| <table class="Note oac_no_warn" summary="" border="1" width="80%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> |
| <tbody> |
| <tr> |
| <td align="left"> |
| <p class="note"><img src="../../dcommon/images/note_icon.png" width="16" height="16" alt="Note" style="vertical-align:middle;padding-right:5px;" />Note:</p> |
| <p>Because deprecated classes and moved classes have the same name, you may get compile errors if you use <code>import *</code> to import classes from both the old package and the new package. To avoid these errors, use <code>import</code> with a fully qualified package name.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="inftblnote" --></div> |
| <ul> |
| <li> |
| <p><a href="#BCGDIBIC">Table 7-15, "mappings (oracle.toplink.*)"</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGDJEEJ">Table 7-16, "descriptors (oracle.toplink.*)"</a></p> |
| </li> |
| </ul> |
| <div class="tblhruleformalwide"><a id="TLADG927" name="TLADG927"></a><a id="sthref42" name="sthref42"></a><a id="BCGDIBIC" name="BCGDIBIC"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-15 mappings (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="mappings (oracle.toplink.*)" summary="This table shows the deprecated APIs in the Preview release prior to 11g (11.1.1) for mappings (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="24%" /> |
| <col width="19%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t20"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t20"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t20"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t20" headers="r1c1-t20"> |
| <p><code>OneToOneMapping</code></p> |
| </td> |
| <td align="left" headers="r2c1-t20 r1c2-t20"> |
| <p><code>useJoining</code></p> |
| </td> |
| <td align="left" headers="r2c1-t20 r1c3-t20"> |
| <p><code>ForeignReferenceMapping.setJoinFetch(int)</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --> |
| <div class="tblhruleformalwide"><a id="TLADG928" name="TLADG928"></a><a id="sthref43" name="sthref43"></a><a id="BCGDJEEJ" name="BCGDJEEJ"></a> |
| <p><strong><em><font face="arial, helvetica, sans-serif">Table 7-16 descriptors (oracle.toplink.*)</font></em></strong></p> |
| <table class="HRuleFormalWide" title="descriptors (oracle.toplink.*)" summary="This table shows the deprecated APIs in the Preview release prior to 11g (11.1.1) for descriptors (oracle.toplink.*)" dir="ltr" border="1" width="100%" frame="hsides" rules="rows" cellpadding="3" cellspacing="0"> |
| <col width="14%" /> |
| <col width="*" /> |
| <col width="43%" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t21"><font face="Arial, Helvetica, sans-serif"><strong>Class Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c2-t21"><font face="Arial, Helvetica, sans-serif"><strong>Method Name</strong></font></th> |
| <th align="left" valign="bottom" id="r1c3-t21"><font face="Arial, Helvetica, sans-serif"><strong>Replacement APIs</strong></font></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t21" headers="r1c1-t21"> |
| <p><code>ClassDescriptor</code></p> |
| </td> |
| <td align="left" headers="r2c1-t21 r1c2-t21"> |
| <p><code>addMultipleTableForeignKeyField</code></p> |
| </td> |
| <td align="left" headers="r2c1-t21 r1c3-t21"> |
| <p><code>addForeignKeyFieldForMultipleTable</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t21" headers="r1c1-t21"> |
| <p><code>ClassDescriptor</code></p> |
| </td> |
| <td align="left" headers="r3c1-t21 r1c2-t21"> |
| <p><code>addMultipleTablePrimaryKeyField</code></p> |
| </td> |
| <td align="left" headers="r3c1-t21 r1c3-t21"> |
| <p><code>addForeignKeyFieldForMultipleTable</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t21" headers="r1c1-t21"> |
| <p><code>ClassDescriptor</code></p> |
| </td> |
| <td align="left" headers="r4c1-t21 r1c2-t21"> |
| <p><code>addMultipleTablePrimaryKeyFieldName</code></p> |
| </td> |
| <td align="left" headers="r4c1-t21 r1c3-t21"> |
| <p><code>addForeignKeyFieldNameForMultipleTable</code></p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t21" headers="r1c1-t21"> |
| <p><code>ClassDescriptor</code></p> |
| </td> |
| <td align="left" headers="r5c1-t21 r1c2-t21"> |
| <p><code>addMultipleTableForeignKeyFieldName</code></p> |
| </td> |
| <td align="left" headers="r5c1-t21 r1c3-t21"> |
| <p><code>addForeignKeyFieldNameForMultipleTable</code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /></div> |
| <!-- class="tblhruleformalwide" --></div> |
| <!-- class="sect3" --> |
| <a id="BCGGJAFJ" name="BCGGJAFJ"></a><a id="TLADG929" name="TLADG929"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">Removed API</font></h3> |
| <p>The following classes were removed in the release prior to TopLink 11<em>g</em> Release 1 (11.1.1):</p> |
| <ul> |
| <li> |
| <p><code>OTSTransactionController</code></p> |
| </li> |
| <li> |
| <p><code>OTSSynchronizationListener</code></p> |
| </li> |
| <li> |
| <p><code>OracleSequenceDefinition</code> (use <code>SequenceObjectDefinition</code> instead)</p> |
| </li> |
| <li> |
| <p><code>TimeTenSequenceDefinition</code> (use <code>SequenceObjectDefinition</code> instead)</p> |
| </li> |
| </ul> |
| </div> |
| <!-- class="sect3" --> |
| <a id="TLADG930" name="TLADG930"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref44" name="sthref44"></a> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">Miscellaneous API Changes</font></h3> |
| <p>Other API changes include the following:</p> |
| <ul> |
| <li> |
| <p><a href="#BCGHJGHF">JPA Persistence Provider Implementation.</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGGABCJ">Session Finalizers Disabled by Default.</a></p> |
| </li> |
| <li> |
| <p><a href="#BCGJCIFE">Vector and Hashtable Return Types Changed to List or Map.</a></p> |
| </li> |
| </ul> |
| <a id="BCGHJGHF" name="BCGHJGHF"></a><a id="TLADG931" name="TLADG931"></a> |
| <div class="sect4"> |
| <h4 class="sect4"><font face="arial, helvetica, sans-serif" color="#330099">JPA Persistence Provider Implementation</font></h4> |
| <p>The persistence provider implementation in all TopLink releases since 11g (11.1.1) is packaged in <code>eclipselink.jar</code>. It replaces all previous implementations, for example:</p> |
| <ul> |
| <li> |
| <p><code>toplink.jar</code></p> |
| </li> |
| <li> |
| <p><code>toplink-essentials.jar</code></p> |
| </li> |
| </ul> |
| </div> |
| <!-- class="sect4" --> |
| <a id="BCGGABCJ" name="BCGGABCJ"></a><a id="TLADG932" name="TLADG932"></a> |
| <div class="sect4"> |
| <h4 class="sect4"><font face="arial, helvetica, sans-serif" color="#330099">Session Finalizers Disabled by Default</font></h4> |
| <p>In TopLink 11<em>g</em> (11.1.1) Technology Preview 3, session finalizers were disabled by default to improve performance. To enable session finalizers, use Session method <code>setIsFinalizersEnabled</code>(true).</p> |
| </div> |
| <!-- class="sect4" --> |
| <a id="BCGJCIFE" name="BCGJCIFE"></a><a id="TLADG933" name="TLADG933"></a> |
| <div class="sect4"> |
| <h4 class="sect4"><font face="arial, helvetica, sans-serif" color="#330099">Vector and Hashtable Return Types Changed to List or Map</font></h4> |
| <p>Any <code>Session</code> or <code>ClassDescriptor</code> method that returns <code>Vector</code> or <code>Hashtable</code> will eventually be changed to return <code>List</code> or <code>Map</code>, respectively. To prepare for this change, cast <code>Vector</code> and <code>Hashtable</code> return types to <code>List</code> or <code>Map</code>, respectively. For example, although the Javadoc for <code>ClassDescriptor</code> method <code>getMappings</code> is <code>java.util.Vector</code>, you should cast the returned value to <code>List</code>:</p> |
| <pre xml:space="preserve" class="oac_no_warn"> |
| List mappings = (List) descriptor.getMappings(); |
| </pre> |
| <p>Other changes that now return <code>Map</code> include the following:</p> |
| <ul> |
| <li> |
| <p><code>ClassDescriptor.getQueryKeys()</code></p> |
| </li> |
| <li> |
| <p><code>ClassDescriptor.getProperties()</code></p> |
| </li> |
| <li> |
| <p><code>DescriptorQueryManager.getQueries()</code></p> |
| </li> |
| <li> |
| <p><code>EISInteraction.getProperties()</code></p> |
| </li> |
| <li> |
| <p><code>Session.getProperties()</code></p> |
| </li> |
| <li> |
| <p><code>Session.getQueries()</code></p> |
| </li> |
| <li> |
| <p><code>getAttributesToAlwaysInclude()</code></p> |
| </li> |
| <li> |
| <p><code>getSpecialOperations()</code></p> |
| </li> |
| <li> |
| <p><code>getValuesToExclude()s</code></p> |
| </li> |
| </ul> |
| </div> |
| <!-- class="sect4" --></div> |
| <!-- class="sect3" --></div> |
| <!-- class="sect2" --> |
| <a id="BCGJDFJB" name="BCGJDFJB"></a><a id="TLADG934" name="TLADG934"></a> |
| <div class="sect2"><!-- infolevel="all" infotype="General" --> |
| <h2 class="sect2"><font face="arial, helvetica, sans-serif" color="#330099">Task 3: Rename Packages</font></h2> |
| <p>EclipseLink continues to support native TopLink APIs; however, all <code>oracle.toplink.*</code> packages are now renamed to <code>org.eclipse.persistence.*</code>.</p> |
| <p>To migrate your application to use the new code base, you must rename the packages in your code. To facilitate this, a package renamer tool is included with the EclipseLink installation. Use this tool on all of the following:</p> |
| <ul> |
| <li> |
| <p>project source code</p> |
| </li> |
| <li> |
| <p><code>project.xml</code> file</p> |
| </li> |
| <li> |
| <p><code>persistence.xml</code> file</p> |
| </li> |
| <li> |
| <p><code>sessions.xml</code> file</p> |
| </li> |
| </ul> |
| <p>The package renamer is located in the <em><code>toplink_install_directory</code></em><code>\toplink\utils\rename</code> directory. Windows and UNIX/LINUX scripts are included.</p> |
| <p>To run the package renamer using the scripts, do the following:</p> |
| <ol> |
| <li> |
| <p>Find the <code>packageRename.cmd</code> (Windows) and <code>packageRename.sh</code> (UNIX/LINUX) scripts in <em><code>toplink_install_directory</code></em><code>\toplink\utils\rename</code> directory.</p> |
| </li> |
| <li> |
| <p>Run either <code>packageRename.cmd</code> or <code>packageRename.sh</code> with the following arguments:</p> |
| <ul> |
| <li> |
| <p><code>sourceLocation</code> - The directory containing the files to rename.</p> |
| </li> |
| <li> |
| <p><code>targetLocation</code> - The destination directory for the renamed files. The package renamer removes any existing Java and XML files, so it is advisable to specify an empty directory.</p> |
| </li> |
| </ul> |
| <p>For example:</p> |
| <pre xml:space="preserve" class="oac_no_warn"> |
| packageRename c:/mySourceLocation c:/myDestinationLocation |
| </pre> |
| <p>The package renamer performs a recursive directory search for Java and XML files to rename. The renamed version of each file is saved in the corresponding directory in the target location</p> |
| </li> |
| </ol> |
| </div> |
| <!-- class="sect2" --> |
| <a id="BCGIFBHC" name="BCGIFBHC"></a><a id="TLADG935" name="TLADG935"></a> |
| <div class="sect2"><!-- infolevel="all" infotype="General" --> |
| <h2 class="sect2"><font face="arial, helvetica, sans-serif" color="#330099">Task 4: Convert XML Configuration Files</font></h2> |
| <p>The package renamer can rename EclipseLink XML configuration files, but depending on the type of file, you may need to make additional changes.</p> |
| <a id="TLADG936" name="TLADG936"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref45" name="sthref45"></a> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">Sessions XML</font></h3> |
| <p>You can continue to use <code>sessions.xml</code> files as is. For a more forward-compatible solution, run the renamer on your <code>sessions.xml</code> files.</p> |
| </div> |
| <!-- class="sect3" --> |
| <a id="TLADG937" name="TLADG937"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref46" name="sthref46"></a> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">Deployment XML</font></h3> |
| <p>Deployment XML files from TopLink 10.1.3 and above can be read by TopLink 11.1.1 and later. You can continue to use those files or for a more forward compatible solution, run the renamer on these files and replace the version string in the "XML Header" with the following:</p> |
| <p>"Eclipse Persistence Services"</p> |
| </div> |
| <!-- class="sect3" --> |
| <a id="TLADG938" name="TLADG938"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref47" name="sthref47"></a> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">Persistence XML</font></h3> |
| <p>To use EclipseLink as a persistence provider, you must run the renamer on your <code>persistence.xml</code> files. The renamer updates the persistence provider to be EclipseLink and also update any native TopLink specific properties to the EclipseLink equivalent.</p> |
| </div> |
| <!-- class="sect3" --> |
| <a id="TLADG939" name="TLADG939"></a> |
| <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref48" name="sthref48"></a> |
| <h3 class="sect3"><font face="arial, helvetica, sans-serif" color="#330099">ORM XML</font></h3> |
| <p>The Object-Relational (ORM) XML configuration file (<code>orm.xml</code>) is not EclipseLink-dependant and does not need to be updated.</p> |
| </div> |
| <!-- class="sect3" --></div> |
| <!-- class="sect2" --></div> |
| <!-- class="sect1" --></div> |
| <!-- class="ind" --> |
| <!-- Start Footer --> |
| <div class="footer"> |
| <hr /> |
| <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> |
| <col width="33%" /> |
| <col width="*" /> |
| <col width="33%" /> |
| <tr> |
| <td valign="bottom"> |
| <table class="navigation simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100" align="center"> |
| <col width="*" /> |
| <col width="48%" /> |
| <col width="48%" /> |
| <tr> |
| <td> </td> |
| <td align="center"><a href="sect1test001.htm"><img src="../../dcommon/images/larrow.png" alt="Previous" border="0" height="16" width="16" /></a></td> |
| <td align="center"><a href="migrnativetoplink002.htm"><img src="../../dcommon/images/rarrow.png" alt="Next" border="0" height="16" width="16" /></a></td> |
| </tr> |
| </table> |
| </td> |
| <td align="center" width="34%"><a href="http://www.eclipse.org/eclipselink/" title="EclipseLink home"><img src="../../dcommon/images/ellogo.png" alt="EclipseLink" width="150" border="0" /></a><br /> |
| <font size="-2">Copyright © 2014, Oracle and/or its affiliates. All rights reserved.</font> <a href="../../dcommon/html/cpyr.htm"><br /> |
| |
| <td valign="bottom" align="right"> |
| <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="225"> |
| <tr> |
| <td> </td> |
| <td align="center" valign="top"><a href="toc.htm"><img src="../../dcommon/images/contents.png" alt="Go To Table Of Contents" border="0" height="16" width="16" /><br /> |
| </td><td> </td><td align="center"><a href="../../" target="_top" class="external text" title="Search" rel="nofollow"><img src="../../dcommon/images/search.png" alt="Search" style="border:0;" /><br /><span class="mini"></span></a></td><td> </td><td align="center"><a href="../eclipselink_otlcg.pdf" title="PDF" target="_blank"><img src="../../dcommon/images/pdf_icon.png" style="padding-right:5px;border:0" alt="PDF"></a></td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </div> |
| <!-- class="footer" --> |
| <div id="copyright">Copyright © 2014 by The Eclipse Foundation under the <a href="http://www.eclipse.org/org/documents/epl-v10.php">Eclipse Public License (EPL)</a><br /> <script type="text/javascript">var LastUpdated = document.lastModified;document.writeln ("Updated: " + LastUpdated);</script> </div><!-- START: Analytics --><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1608008-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script><!-- END: Analytics --><!-- START: Sharethis --><script>var options={ "publisher": "e2fe9e07-fab6-4f84-83ea-0991b429842c", "position": "right", "ad": { "visible": false, "openDelay": 5, "closeDelay": 0}};var st_hover_widget = new sharethis.widgets.hoverbuttons(options);</script><!-- END: Sharethis --></body> |
| </html> |