Author: plavin
Date: 2006-12-08 22:16:27 +0100 (Fri, 08 Dec 2006)
New Revision: 4181
Log:
Add map object section
Modified:
trunk/migration-toolkit/scripted-migration.xml
Modified: trunk/migration-toolkit/scripted-migration.xml
===================================================================
--- trunk/migration-toolkit/scripted-migration.xml 2006-12-08 20:20:20 UTC (rev 4180)
+++ trunk/migration-toolkit/scripted-migration.xml 2006-12-08 21:16:27 UTC (rev 4181)
Changed blocks: 1, Lines Added: 43, Lines Deleted: 2; 1932 bytes
@@ -290,14 +290,55 @@
<para>
Any schema objects that you chose not to migrate, show up in the
- <literal>ignoreList</literal>. This object is found beneath the
+ <literal>ignoreList</literal> object. This object is found beneath the
<literal>migration</literal> object in the Globals tree panel.
</para>
</section>
<!-- End part three -->
-
+
+ <section>
+
+ <title>Map Objects and Migrate</title>
+
+ <para>
+ Instead of finding an object in the <literal>Values</literal>
+ tab of the Objects tree, you may query an object from
+ the command line in the GRT shell.
+ For example, in the code following the comment
+ <literal>-- Set object mappings and do migration</literal>
+ a <literal>mappingdefaults</literal> object is created by
+ the <literal>grtV.setGlobal</literal> method.
+ </para>
+
+ <para>
+ To see that this method has executed successfully
+ enter the following command in the GRT shell:
+ </para>
+
+<programlisting>
+/ > print(grtV.getGlobal("/migration/mappingDefaults"))
+</programlisting>
+
+ <para>
+ This should output a listing of the mapping defaults as shown
+ in your script file. The results will vary depending
+ upon the objects you have chosen to migrate. However, in all
+ cases you should see a schema mapping.
+ </para>
+ <para>
+ Beneath the <literal>-- update _ids</literal> comment
+ the migration methods are copied to a local variable
+ and then executed.
+ </para>
+
+ </section>
+
<!-- End part four -->
+
+
+ <!-- End part five -->
+
</chapter>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r4181 - trunk/migration-toolkit | plavin | 8 Dec |