ORM options

ORM Options in Option List
ORM Options in Option List

General

General Options in ORM
General Options in ORM

 

Option Name
Description
Quote SQL Identifier
  • Yes - Add quotes to SQL identifier to prevent potential violation when executing SQL
  • No - Do not add quotes to SQL identifier
  • Auto - (default) Quote only reserved words
Synchronize Name
  • Yes - Auto update model element name when synchronize class diagram and ERD
  • No - Do not update model element name when synchronize class diagram and ERD
  • Prompt - (default) Prompt to update model element name when synchronize class diagram and ERD
Mapping File Column Order
  • ERD - (default) Generate columns in mapping file in same order as ERD
  • Index - Generate index columns first in mapping file
Wrapping Servlet Request
  • On - Automatic lock persistable object when get by HttpSession.getAttribute()
  • Off - (default) Do not lock object automatically
Getter/Setter Visibility
  • Public - (default) Generate public getter/setter
  • Follow attribute -Getter/setter visibility follow attribute's visibility
Decimal Precision and Scale - Use default (default true) Automatic determine the most suitable precision and scale when synchronize from attribute to column as decimal.
Decimal Precision and Scale - Precision Specify the precision when synchronize from attribute to column as decimal.
Decimal Precision and Scale - Scale Specify the scale when synchronize from attribute to column as decimal.
ID Generator
  • assigned - lets the application to assign an identifier to the object before save() is called.
  • guid - uses a database-generated GUID string on MS SQL Server and MySQL.
  • hilo - uses a hi/lo algorithm to efficiently generate identifiers of type long, short or int, given a table and column as a source of hi values. The hi/lo algorithm generates identifiers that are unique only for a particular database.
  • identity - supports identity columns in DB2, MySQL, MS SQL Server, Sybase and HypersonicSQL. The returned identifier is of type long, short or int.
  • increment - generates identifiers of type long, short or int that are unique only when no other process is inserting data into the same table. Do not use in a cluster.
  • native - (default) picks identity, sequence or hilo depending upon the capabilities of the underlying database.
  • seqhilo - uses a hi/lo algorithm to efficiently generate identifiers of type long, short or int, given a named database sequence.
  • sequence - uses a sequence in DB2, PostgreSQL, Oracle. The returned identifier is of type long, short or int
Generate diagram from ORM wizards (default true) Generate diagram when finish ORM wizards.
Export comment to database (default true) Generate documentation to table/column.
ERD numeric to class type
  • Automatic - (default) Automatic select attribute type when synchronize from column numeric type
  • Integer - Synchronize column numeric type to attribute as integer type
  • Float - Synchronize column numeric type to attribute as float type
  • Double - Synchronize column numeric type to attribute as double type
  • Big Decimal - Synchronize column numeric type to attribute as big decimal type
SQL Statement Case
  • Upper Case - (default) Generate upper case keyword in SQL
  • Lower case - Generate lower case keyword in SQL
Formatted SQL (default false) Generate pretty formatted SQL.
Warn when rename table/constraint to over 30 chars if Oracle is selected as default database  
General Options details

Synchronization

Synchronization Options in ORM
Synchronization Options in ORM

 

Option Name
Description
Entity => Class Name - Prefix
Append characters/words in front of name
Entity => Class Name - Class name
  • Capitalize - (default) The first character of each word become uppercase
  • Decapitalize - The first character of each word become lowercase
  • Upper case - All characters become uppercase
  • Lower case - All characters become lowercase
  • Upper camel case - words are joined without underscore ("_") and are capitalized
  • Lower camel case - Same as upper camel case except that the first character is lower case
  • Reverse camel case - each upper case character are considered as word separator, words are joined with underscore ("_") and are lower case
  • Reverse camel to upper case - each upper case character are considered as word separator, words are joined with underscore ("_") and are upper case
  • Don't change - Keep name unchanged
Entity => Class Name - Suffix
Append characters/words after name.
Column => Attribute Name - Prefix Append characters/words in front of name.
Column => Attribute Name - Attribute Name
  • Capitalize - The first character of each word become uppercase
  • Decapitalize - (default) The first character of each word become lowercase
  • Upper case - All characters become uppercase
  • Lower case - All characters become lowercase
  • Upper camel case - words are joined without underscore ("_") and are capitalized
  • Lower camel case - Same as upper camel case except that the first character is lower case
  • Reverse camel case - each upper case character are considered as word separator, words are joined with underscore ("_") and are lower case
  • Reverse camel to upper case - each upper case character are considered as word separator, words are joined with underscore ("_") and are upper case
  • Don't change - Keep name unchanged
Column => Attribute Name - Suffix Append characters/words after name.
Class => Entity Name - Prefix Append characters/words in front of name.
Class => Entity Name - Table name
  • Capitalize - The first character of each word become uppercase
  • Decapitalize - The first character of each word become lowercase
  • Upper case - All characters become uppercase
  • Lower case - All characters become lowercase
  • Upper camel case - words are joined without underscore ("_") and are capitalized
  • Lower camel case - Same as upper camel case except that the first character is lower case
  • Reverse camel case - each upper case character are considered as word separator, words are joined with underscore ("_") and are lower case
  • Reverse camel to upper case - each upper case character are considered as word separator, words are joined with underscore ("_") and are upper case
  • Don't change - (default) Keep name unchanged
Class => Entity Name - Suffix Append characters/words after name.
Attribute => Column Name - Prefix Append characters/words in front of name.
Attribute => Column Name - Column name
  • Capitalize - (default) The first character of each word become uppercase
  • Decapitalize - The first character of each word become lowercase
  • Upper case - All characters become uppercase
  • Lower case - All characters become lowercase
  • Upper camel case - words are joined without underscore ("_") and are capitalized
  • Lower camel case - Same as upper camel case except that the first character is lower case
  • Reverse camel case - each upper case character are considered as word separator, words are joined with underscore ("_") and are lower case
  • Reverse camel to upper case - each upper case character are considered as word separator, words are joined with underscore ("_") and are upper case
  • Don't change - Keep name unchanged
Attribute => Column Name - Suffix Append characters/words after name.
Synchronize Name
  • Yes
  • No
  • Prompt
Table per subclass FK Mapping
  • Top Base Class
  • Super Class
Synchronization Options details