<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Code-Generation</title><link>https://sourceforge.net/p/dal4j/wiki/Code-Generation/</link><description>Recent changes to Code-Generation</description><atom:link href="https://sourceforge.net/p/dal4j/wiki/Code-Generation/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 29 Apr 2012 16:57:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dal4j/wiki/Code-Generation/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Code-Generation modified by Harry Gardner</title><link>https://sourceforge.net/p/dal4j/wiki/Code-Generation/</link><description>The DAL4j distribution's bin directory contains a script that can be used on a unix or windows command line to kick off the code generation process. The script is also included in the bin directory for each sample project. The script is: &lt;b&gt;classgen.sh&lt;/b&gt; or &lt;b&gt;classgen.bat&lt;/b&gt;

To generate code:
   Unix/Cygwin: &lt;b&gt;classgen.sh &amp;lt;yourConfigFile.xml&amp;gt;&lt;/b&gt;
   DOS: &lt;b&gt;classgen &amp;lt;yourConfigFile.xml&amp;gt;&lt;/b&gt;

Note, the syntax above will generate code for all tables configured in yourConfigFilx.xml. To generate code for a single table or view, use the following command line options:

    # To genreate code for a single table.
    classgen -t &lt;tableName&gt; &lt;yourConfigFile.xml&gt;

    # To generate code for a single view. 
    classgen -v &lt;viewName&gt; &lt;yourConfigFile.xml&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Harry Gardner</dc:creator><pubDate>Sun, 29 Apr 2012 16:57:34 -0000</pubDate><guid>https://sourceforge.netc8152751c3b29872e7b32662b94a526303df24cd</guid></item></channel></rss>