All Packages This Package Previous Next
Class JProjects.eab.data.wizzard.DataWizzard
java.lang.Object
|
+----JProjects.eab.data.wizzard.DataWizzard
- public class DataWizzard
- extends Object
Command line interface to Data Access Builder.
Use:
java JProjects.eab.data.wizzard.DataWizzard map-parameters-file
Map parameter file have a property file format. Map parameter file propeties:
- BASE_NAME
- = Base name for classes to generate.
- TABLE_NAMES
- = List of table names. Each table name may be qualified by
schema name.
- TABLE_ALIASES
- = List of tables' aliases. Aliases are used in generated
SQL to avoid naming conflicts between columns from different tables.
- COL_NAMES
- = List of column names. Entries should be grouped in
the order of corresponding table names in the TABLE_NAMES. Columns that constitute
a primary key (rather DataId of the PersistentObject) should be placed at head.
- DATA_TYPES
- = List of columns' data types. Entries should correspond
to ones from COL_NAMES. Names for data types coincide with those from jdbc
specification. See java.sql.Types.
- NULLABLES
- =
true
/false
properties for the
columns.
- FIELD_NAMES
- = List of persistent object field names. Each such field
will contain data from the corresponding column of the database table. Optional
property. Defaults to COL_NAMES.
- DATA_IDS
- =
true
/false
properties for the
columns that comprise a data id. Here true
means that that column
can be modified by application (in contrast to serial
data type
for Informix).
- IS_READ_ONLY
- =
true
/false
property for
generated classes. Should be true
if it is mapping for SQL join.
- SQLLINK
- = String that constitute SQL join clause. It goes into
generated SQL "AS IS".
- Author:
- Alexander Jaremenko < jarem@isb.gomel.by >
-
DataWizzard()
-
-
main(String[])
-
-
run(String)
-
DataWizzard
public DataWizzard()
run
public void run(String cfgFN)
main
public static void main(String args[])
All Packages This Package Previous Next