https://wiki.eclipse.org/index.php?title=EclipseLink/Examples/SDO/Compiler&feed=atom&action=history
EclipseLink/Examples/SDO/Compiler - Revision history
2024-03-28T23:32:01Z
Revision history for this page on the wiki
MediaWiki 1.26.4
https://wiki.eclipse.org/index.php?title=EclipseLink/Examples/SDO/Compiler&diff=141272&oldid=prev
Blaise.doughan.oracle.com at 15:25, 24 February 2009
2009-02-24T15:25:44Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 15:25, 24 February 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" >Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The SDO compiler can be run to generate Static SDO Java files from an XML Schema:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The SDO compiler can be run to generate Static SDO Java files from an XML Schema:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><<del class="diffchange diffchange-inline">pre</del>></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins class="diffchange diffchange-inline">source lang="text"</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><ECLIPSELINK_HOME>/eclipselink/bin/sdo-compiler.sh [-options]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><ECLIPSELINK_HOME>/eclipselink/bin/sdo-compiler.sh [-options]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><ECLIPSELINK_HOME>\eclipselink\bin\sdo-compiler.cmd [-options]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><ECLIPSELINK_HOME>\eclipselink\bin\sdo-compiler.cmd [-options]</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l23" >Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Example:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Example:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   sdo-compiler.sh -sourceFile config/Customer.xsd -targetDirectory sdo-compiler-output -logLevel 8</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   sdo-compiler.sh -sourceFile config/Customer.xsd -targetDirectory sdo-compiler-output -logLevel 8</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></<del class="diffchange diffchange-inline">pre</del>></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></<ins class="diffchange diffchange-inline">source</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>For each complex type in the schema, the compiler will generate both an interface (e.g. <tt>CustomerType.java</tt>), and a concrete implementation which subclasses <tt>org.eclipse.persistence.sdo.SDODataObject</tt> (e.g. <tt>CustomerTypeImpl.java</tt>).</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>For each complex type in the schema, the compiler will generate both an interface (e.g. <tt>CustomerType.java</tt>), and a concrete implementation which subclasses <tt>org.eclipse.persistence.sdo.SDODataObject</tt> (e.g. <tt>CustomerTypeImpl.java</tt>).</div></td></tr>
</table>
Blaise.doughan.oracle.com
https://wiki.eclipse.org/index.php?title=EclipseLink/Examples/SDO/Compiler&diff=140081&oldid=prev
Blaise.doughan.oracle.com: New page: ==Overview== The following example will demonstrate how to use EclipseLink's SDO functionality to: * Generate Java source files from an XML Schema using the SDO Compiler ==Setup== # Ens...
2009-02-11T18:48:47Z
<p>New page: ==Overview== The following example will demonstrate how to use EclipseLink's SDO functionality to: * Generate Java source files from an XML Schema using the SDO Compiler ==Setup== # Ens...</p>
<p><b>New page</b></p><div>==Overview==<br />
<br />
The following example will demonstrate how to use EclipseLink's SDO functionality to:<br />
* Generate Java source files from an XML Schema using the SDO Compiler<br />
<br />
==Setup==<br />
<br />
# Ensure that you have EclipseLink correctly installed and configured for your environment. Please see [[EclipseLink/Installing and Configuring EclipseLink]] for more information.<br />
<br />
==Running the SDO Compiler==<br />
<br />
The SDO compiler can be run to generate Static SDO Java files from an XML Schema:<br />
<pre><br />
<ECLIPSELINK_HOME>/eclipselink/bin/sdo-compiler.sh [-options]<br />
<ECLIPSELINK_HOME>\eclipselink\bin\sdo-compiler.cmd [-options]<br />
<br />
Options:<br />
-help Prints the help message text<br />
-sourceFile <filename> The input schema file (required)<br />
-targetDirectory <dirname> The directory to generate Java source (optional)<br />
-logLevel <level> Specify the integer value of the logging level<br />
(8=OFF,7=SEVERE,6=WARNING,5=INFO,4=CONFIG,3=FINE,2=FINER(default),1=FINEST,0=ALL)<br />
Example:<br />
sdo-compiler.sh -sourceFile config/Customer.xsd -targetDirectory sdo-compiler-output -logLevel 8<br />
</pre><br />
<br />
For each complex type in the schema, the compiler will generate both an interface (e.g. <tt>CustomerType.java</tt>), and a concrete implementation which subclasses <tt>org.eclipse.persistence.sdo.SDODataObject</tt> (e.g. <tt>CustomerTypeImpl.java</tt>).</div>
Blaise.doughan.oracle.com