| Package | Description |
|---|---|
| org.ujorm.orm |
The ORM support.
|
| org.ujorm.orm.metaModel |
| Modifier and Type | Method and Description |
|---|---|
MetaParams |
Session.getParameters()
Returns parameters
|
MetaParams |
OrmHandler.getParameters()
Returns parameters
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrmHandler.config(MetaParams params)
Save the ORM parameters.
|
| Modifier and Type | Field and Description |
|---|---|
static Key<MetaParams,Object> |
MetaParams.APPL_CONTEXT
An application context for initializaton of the customer componets of the meta-model.
|
static Key<MetaParams,CachePolicy> |
MetaParams.CACHE_POLICY
Session cache policy.
|
static Key<MetaParams,CheckReport> |
MetaParams.CHECK_KEYWORDS
CheckReport a keyword in the database table or colum name inside the meta-model.
|
static Key<MetaParams,CommentPolicy> |
MetaParams.COMMENT_POLICY
A policy for assigning an annotation table comment
Comment to database. |
static Key<MetaParams,Boolean> |
MetaParams.INHERITANCE_MODE
Any action type or CREATE, UPDATE, DELETE on inheritance objects calls the same action to its 'parrent' object.
|
static Key<MetaParams,Class<? extends InitializationBatch>> |
MetaParams.INITIALIZATION_BATCH
An inicializaton batch implementation can be called after building the ORM meta-model.
|
static Key<MetaParams,Integer> |
MetaParams.INSERT_MULTIROW_ITEM_LIMIT
The parameter is used to limit of the insert sttatemtn in case the "sql multirow insert".
|
static Key<MetaParams,LazyLoading> |
MetaParams.LAZY_LOADING
The parameter 'lazyLoading' specify a lazy-loading policy in case
that UJO objects have got any sesson.
|
static Key<MetaParams,Boolean> |
MetaParams.LOG_METAMODEL_INFO
Set a logging level for a full meta-model information in the XML format
where the default parameter value is
true. |
static Key<MetaParams,Boolean> |
MetaParams.LOG_SQL_MULTI_INSERT
Enable the loggin for a multi-value SQL statement INSERT including its values
where the default parameter value is
false. |
static Key<MetaParams,Integer> |
MetaParams.LOG_VALUE_LENGTH_LIMIT
Logging JDBC arguments can be cropped using the next argument, default value 128 characters per value,
the value
Integer.MAX_VALUE means an unlimited. |
static Key<MetaParams,Boolean> |
MetaParams.LOGBACK_LOGGING_SUPPORT
Pamameter tries to install a brighe to the Logback logging framework
using a statement
SLF4JBridgeHandler.install(); |
static Key<MetaParams,Integer> |
MetaParams.MAX_ITEM_COUNT_4_IN
The maximal count of items for the SQL IN operator, default value is 500 items
The limit is used inside the method
loadLazyValuesAsBatch(..). |
static Key<MetaParams,Class<? extends MetaDbService>> |
MetaParams.META_DB_SERVICE
The instance of the parameter class
MetaDbService is used for creating and validaton a database according to the meta-model. |
static Key<MetaParams,MoreParams> |
MetaParams.MORE_PARAMS
The parameter contains the special parameters with for different use.
|
static Key<MetaParams,Orm2ddlPolicy> |
MetaParams.ORM2DLL_POLICY
A policy to defining the database structure by a DDL.
|
static Key<MetaRoot,MetaParams> |
MetaRoot.PARAMETERS
ORM parameters
|
static Key<MetaParams,File> |
MetaParams.SAVE_CONFIG_TO_FILE
Framework can save the final configuration file to a new file for an external use.
|
static Key<MetaParams,Integer> |
MetaParams.SEQUENCE_CACHE
Sequential cache parameter saves the number of requests to the following sequence when a insert statement into DB.
|
static Key<MetaParams,Boolean> |
MetaParams.SEQUENCE_SCHEMA_SYMBOL
The parameter value TRUE affects to a Sequence key name in the internal sequence generator.
|
static Key<MetaParams,Class<? extends SqlNameProvider>> |
MetaParams.SQL_NAME_PROVIDER
Default SQL name provider for special names of database is called:
SqlNameProvider |
static Key<MetaParams,String> |
MetaParams.TABLE_ALIAS_PREFIX
Special prameter for an automatically assembled table alias prefix.
|
static Key<MetaParams,String> |
MetaParams.TABLE_ALIAS_SUFFIX
Special prameter for an automatically assembled table alias prefix.
|
static Key<MetaParams,Class<? extends ITypeService>> |
MetaParams.TYPE_SERVICE
The instance of the parameter class
ITypeService is used for conversion, reading and writting to/from the ResultSet. |
| Modifier and Type | Method and Description |
|---|---|
<UJO extends MetaParams,VALUE> |
MetaParams.set(Key<UJO,VALUE> property,
VALUE value)
Set a parameter value
|
| Modifier and Type | Method and Description |
|---|---|
MetaParams |
MetaDatabase.getParams()
Return the OrmHandler parameters
|
<UJO extends MetaParams,VALUE> |
MetaParams.set(Key<UJO,VALUE> property,
VALUE value)
Set a parameter value
|
MetaParams |
MetaParams.setApplContext(Object applContext)
Set application context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetaParams.set(Key<MetaParams,Class<? extends InitializationBatch>> key,
InitializationBatch batch)
Assign an initialization batch
|
Copyright 2013, Pavel Ponec