<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Input source selection</title>
</head>
<body>
<h1>Input source selection</h1>
<p>The code generation is based on an input model. This input model is based on
<a href="input_data.htm">input data</a>. Different
forms of input data are possible.<br/>
<img src="../pic/inputSourceButtons.png"/><br/></p>
<p>The following three methods are the standard input sources:</p>
<ul>
<li><a name="wdb">Without DB</a>: The input file is not related to a database. The class to generate the model
from the input must be registered with <a href="../reference/extensions.html">ch.sahits.codegen.java.inputparser</a></li>
<li><a name="dbwif">DB with input file</a>: The input file describes the structure of a database table. If the
input file is an sql file a concrete implementation for the vendor must be supplied by extending
<a href="../reference/extensions.html">ch.sahits.codegen.java.inputdbparser</a></li>
<li>DB with connection: Retrieve the table meta data by querring the database meta data. This differes
from vendor to vendor and needs a concrete implementation that can be supplied by extending
<a href="../reference/extensions.html">ch.sahits.codegen.java.inputdbconnection</a></li>
</ul>
<p>Some of these extensions are supplied by Sahits out of the box. Please consult the update page:
<a href="http://sahits.ch/project/javacodegen/update/">http://sahits.ch/project/javacodegen/update/</a></p>
<p>If you also installed the plug-in ch.sahits.codegen.java.datatools you have a further possibility:</p>
<ul>
<li>DTP connection: Retrieve the table meta data through data sources that are registered with datatools
(DataTools Project)</li>
</ul>
<p>The input sources can be extended through the <a href="../reference/extensions.html">extension point ch.sahits.codegen.java.connectionpage</a>
For further details consult the help of these extensions.</p>
</body>
</html>