A B C D E F G H I J L M N O P Q R S T U V W

A

AbstractMetaModel - Class in org.ujorm.orm
Abstract Metamodel
AbstractMetaModel() - Constructor for class org.ujorm.orm.AbstractMetaModel
 
add(MetaDatabase) - Method in class org.ujorm.orm.metaModel.MetaRoot
Add a new database into repository.
addAlias(String) - Method in class org.ujorm.orm.metaModel.MetaTable
Add alias name to the new object
addBatch(String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
addBatch() - Method in exception org.ujorm.orm.ao.UjoStatement
 
addColumn(Key<UJO, ?>) - Method in class org.ujorm.orm.Query
Set the one column to reading from database table.
addColumnModel(MetaRelation2Many) - Method in class org.ujorm.orm.OrmHandler
Map a key to the table
addCriterion(Criterion<UJO>) - Method in class org.ujorm.orm.Query
Add a new Criterion.
addKeys(Key<?, ?>, Collection<AliasKey>) - Static method in class org.ujorm.orm.AliasKey
Add full range of composite key
addLastKey(Key<?, ?>, Collection<AliasKey>) - Static method in class org.ujorm.orm.AliasKey
Add the last condition
addMissingColumn(ColumnWrapper, boolean, boolean) - Method in class org.ujorm.orm.Query
Add a missing column.
addOrderBy(Key<UJO, ?>) - Method in class org.ujorm.orm.Query
Add an item to the end of order list.
addProcedureModel(MetaProcedure) - Method in class org.ujorm.orm.OrmHandler
Map a key to the table
addRelations(Key<?, ?>, Collection<AliasKey>) - Static method in class org.ujorm.orm.AliasKey
Add relations only
addTableAlias(String) - Method in class org.ujorm.orm.metaModel.MetaColumn
Create new object column for the new alias
addTableModel(MetaTable) - Method in class org.ujorm.orm.OrmHandler
Map a key to the table
ALIAS - Static variable in class org.ujorm.orm.metaModel.MetaTable
The unique table/view name over all Databases in scope one OrmHandler
alias(Class<UJO>, String) - Method in class org.ujorm.orm.OrmHandler
Deprecated. 
AliasKey - Class in org.ujorm.orm
Relation from the one table to another including alias
AliasKey(Key<?, ?>) - Constructor for class org.ujorm.orm.AliasKey
Constructor
AliasKey(Key<?, ?>, String, String) - Constructor for class org.ujorm.orm.AliasKey
Constructor
AliasTable<UJO extends OrmUjo> - Class in org.ujorm.orm.template
The class for building any SQL statement using Ujorm Keys.
AliasTable(Class<UJO>, String, OrmHandler) - Constructor for class org.ujorm.orm.template.AliasTable
 
AliasTable(TableWrapper, OrmHandler) - Constructor for class org.ujorm.orm.template.AliasTable
 
AliasTable.Build - Class in org.ujorm.orm.template
Static building methods.
AliasTable.Build() - Constructor for class org.ujorm.orm.template.AliasTable.Build
 
allColumns() - Method in class org.ujorm.orm.template.AliasTable
Call the column() method for all Keys of Ujorm
allColumns(boolean) - Method in class org.ujorm.orm.template.AliasTable
Call the column() method for all Keys of Ujorm
anyChange - Variable in class org.ujorm.orm.metaModel.MetaDbService
There is a database change
APPL_CONTEXT - Static variable in class org.ujorm.orm.metaModel.MetaParams
An application context for initializaton of the customer componets of the meta-model.
assertChangeAllowed() - Method in class org.ujorm.orm.metaModel.MetaTable
Asssert that the table may be changed.
assignExtendedValues(Query) - Method in class org.ujorm.orm.JdbcStatement
Assign extended values into the prepared statement
assignPrimaryKey(OrmUjo, Session) - Method in class org.ujorm.orm.metaModel.MetaPKey
Assign a PK from framework in case the PK generator is type of MEMO_SEQUENCE.
assignPrimaryKey(OrmUjo, Session) - Method in class org.ujorm.orm.metaModel.MetaTable
Assign a PK from framework
assignValue(OrmUjo, MetaColumn) - Method in class org.ujorm.orm.JdbcStatement
Add a next value to a SQL prepared statement.
assignValue(MetaColumn, Object, OrmUjo) - Method in class org.ujorm.orm.JdbcStatement
Add a next value to a SQL prepared statement.
assignValues(OrmUjo) - Method in class org.ujorm.orm.JdbcStatement
Assign values into the prepared statement
assignValues(List<? extends OrmUjo>, int, int) - Method in class org.ujorm.orm.JdbcStatement
Assign values into the prepared statement
assignValues(OrmUjo, List<MetaColumn>) - Method in class org.ujorm.orm.JdbcStatement
Assign values into the prepared statement
assignValues(Query) - Method in class org.ujorm.orm.JdbcStatement
Assign values into the prepared statement
assignValues(CriterionDecoder) - Method in class org.ujorm.orm.JdbcStatement
Assign values into the prepared statement
assignValues(DbProcedure) - Method in class org.ujorm.orm.JdbcStatement
Assign procedure parameters
AUTO_INDEX_NAME - Static variable in class org.ujorm.orm.metaModel.MetaColumn
A constant for an auto index name

B

baseTable - Variable in class org.ujorm.orm.CriterionDecoder
 
beginTransaction() - Method in class org.ujorm.orm.Session
Create a new transaction or a sub-transaction.
BIG_DECI - Static variable in class org.ujorm.orm.TypeService
 
BIG_INTE - Static variable in class org.ujorm.orm.TypeService
 
BLOB - Static variable in class org.ujorm.orm.TypeService
 
BOOLEAN - Static variable in class org.ujorm.orm.TypeService
 
buildConstraintName(MetaColumn, MetaTable) - Method in class org.ujorm.orm.SqlDialectEx
SQL Name Provider
buildDefaultConstraintForDefaultValueName(MetaTable, MetaColumn) - Method in class org.ujorm.orm.SqlNameProvider
buildDefaultConstraintForDefaultValueName
buildDefaultConstraintName(MetaTable, MetaColumn) - Method in class org.ujorm.orm.SqlNameProvider
SQL Name Provider
buildPrimaryKeyName(MetaTable, List<MetaColumn>) - Method in class org.ujorm.orm.SqlNameProvider
BuildPrimaryKeyName
buildPrimaryKeyOverColumn(MetaTable, List<MetaColumn>) - Method in class org.ujorm.orm.SqlDialectEx
 
BYTE - Static variable in class org.ujorm.orm.TypeService
 
BYTES - Static variable in class org.ujorm.orm.TypeService
 
BYTES_WRAP - Static variable in class org.ujorm.orm.TypeService
 
BytesWrapper - Interface in org.ujorm.orm
Bytes wrapper is used to store Java objects to BLOB or BYTEA databse column type.

C

CACHE_POLICY - Static variable in class org.ujorm.orm.metaModel.MetaParams
Session cache policy.
CacheKey - Class in org.ujorm.orm.ao
UJO CacheKey
CacheKey() - Constructor for class org.ujorm.orm.ao.CacheKey
 
CachePolicy - Enum in org.ujorm.orm.ao
The BO cache policy is available inside a one session only.
call(Session, Key<UJO, T>) - Method in class org.ujorm.orm.DbProcedure
Call the procedure and return a type-safe value of the required Property
call(Session) - Method in class org.ujorm.orm.DbProcedure
Call the procedure and return a value of the first Property.
call(DbProcedure) - Method in class org.ujorm.orm.Session
Call the stored procedure
cancel() - Method in exception org.ujorm.orm.ao.UjoStatement
 
changeDbLength(MetaColumn) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Change DbType by a Java key
changeDbType(MetaColumn) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Change DbType by a Java key
changeDefault(UJO, Key<UJO, VALUE>, VALUE) - Method in class org.ujorm.orm.AbstractMetaModel
Assign a 'valid value' over a default UJO key value only
changeIndex(List<MetaIndex>) - Method in class org.ujorm.orm.metaModel.MetaDbService
5.
CHAR - Static variable in class org.ujorm.orm.TypeService
 
CHECK_KEYWORDS - Static variable in class org.ujorm.orm.metaModel.MetaParams
CheckReport a keyword in the database table or colum name inside the meta-model.
checkDBStructure(Session, boolean) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
checkKeyWord(String, MetaTable, Set<String>) - Method in class org.ujorm.orm.metaModel.MetaDbService
Check the keyword
checkKeywords(Connection, List<MetaTable>, List<MetaColumn>, List<MetaIndex>) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
checkNotNull(OrmUjo, String) - Method in class org.ujorm.orm.Session
Check the Ujo object to not null.
checkReadOnly(boolean) - Method in class org.ujorm.orm.AbstractMetaModel
Test a read-only state
CheckReport - Enum in org.ujorm.orm.ao
How to use the report of any check message?
checkReportKeywords(Connection, List<MetaTable>, List<MetaColumn>, List<MetaIndex>) - Method in class org.ujorm.orm.metaModel.MetaDbService
1.
checkTableForColumnsProperties(Connection, MetaTable, boolean) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
checkTableForForeignKeys(Connection, MetaTable, boolean) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
checkTableForIndexes(Connection, MetaTable, boolean) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
checkTableForMissingColumns(Connection, MetaTable, boolean) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
checkTableForPrimaryKeys(Connection, MetaTable, boolean) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
clear() - Method in class org.ujorm.orm.DbProcedure
Clear all parameters
clearBatch() - Method in exception org.ujorm.orm.ao.UjoStatement
 
clearCache() - Method in class org.ujorm.orm.Session
Clear the cache.
clearCache(CachePolicy) - Method in class org.ujorm.orm.Session
Clear cache and change its policy.
clearParameters() - Method in exception org.ujorm.orm.ao.UjoStatement
 
clearReadOnly(OrmHandler) - Method in class org.ujorm.orm.AbstractMetaModel
Unlock the meta-model.
clearReadOnly() - Method in class org.ujorm.orm.metaModel.MetaTable
Unlock the meta-model, the method is for internal use only.
clearWarnings() - Method in exception org.ujorm.orm.ao.UjoStatement
 
CLOB - Static variable in class org.ujorm.orm.TypeService
 
clone(U) - Static method in class org.ujorm.orm.utility.OrmTools
Clone the argument entity using all direct keys including the original ORM session, if any.
close() - Method in class org.ujorm.core.UjoIterator
Close all resources, if any.
close() - Method in exception org.ujorm.orm.ao.UjoStatement
 
close() - Method in class org.ujorm.orm.JdbcStatement
Close the session
close(Connection, JdbcStatement, ResultSet, boolean) - Static method in class org.ujorm.orm.metaModel.MetaDatabase
Close a connection, statement and a result set.
close(Connection, Statement, ResultSet, boolean) - Static method in class org.ujorm.orm.metaModel.MetaDatabase
Close a connection, statement and a result set.
close() - Method in class org.ujorm.orm.Session
Close and release all DB connections.
closeOnCompletion() - Method in exception org.ujorm.orm.ao.UjoStatement
Java 7 Required
COLOR - Static variable in class org.ujorm.orm.TypeService
 
Column - Annotation Type in org.ujorm.orm.annot
Use the annotation to mark a Key static field like XML Attribute.
column(Key<UJO, T>) - Method in class org.ujorm.orm.template.AliasTable
Print one column including alias
COLUMN_DEF_CHAR_LENGTH - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
COLUMN_DEF_DEFAULT_VALUE - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
COLUMN_DEF_NAME - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
COLUMN_DEF_NULLABLE - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
COLUMN_DEF_VALUE_CONSTRAINTS - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
columnAs(Key<UJO, T>) - Method in class org.ujorm.orm.template.AliasTable
Returns one column including an default special alias name after the 'AS' phrase.
columnAs(Key<UJO, T>, CharSequence) - Method in class org.ujorm.orm.template.AliasTable
Returns one column including the required alias name after the 'AS' phrase.
COLUMNS - Static variable in class org.ujorm.orm.metaModel.MetaIndex
Table Columns
COLUMNS - Static variable in class org.ujorm.orm.metaModel.MetaPKey
DB columns
COLUMNS - Static variable in class org.ujorm.orm.metaModel.MetaTable
Table Columns (no relations)
ColumnWrapper - Interface in org.ujorm.orm
Wrapper for a MetaColumn
ColumnWrapperImpl - Class in org.ujorm.orm.impl
Wrapper for a MetaColumn
ColumnWrapperImpl(MetaColumn, String) - Constructor for class org.ujorm.orm.impl.ColumnWrapperImpl
 
ColumnWrapperImpl(MetaColumn, Key) - Constructor for class org.ujorm.orm.impl.ColumnWrapperImpl
 
ColumnWrapperImpl(MetaColumn, String, Key) - Constructor for class org.ujorm.orm.impl.ColumnWrapperImpl
Basic constructor
Comment - Annotation Type in org.ujorm.orm.annot
Use the annotation to comment a database table or column.
In case you are using the database MySQL, please see more information about the column implementation
COMMENT - Static variable in class org.ujorm.orm.metaModel.MetaColumn
Comment of the database column
COMMENT - Static variable in class org.ujorm.orm.metaModel.MetaTable
Comment of the database table
COMMENT_POLICY - Static variable in class org.ujorm.orm.metaModel.MetaParams
A policy for assigning an annotation table comment Comment to database.
CommentPolicy - Enum in org.ujorm.orm.ao
Policy for assigning a comment form Comment annotation to database.
commit() - Method in class org.ujorm.orm.Session
Make a commit for all databases.
commit(boolean) - Method in class org.ujorm.orm.Session
Make commit/rollback for all 'production' databases.
commit() - Method in class org.ujorm.orm.Transaction
Commit the current level of the beginTransaction.
commitTransaction() - Method in class org.ujorm.orm.Session
Make a commit om all databases for the current transaction level.
COMMON_SEQ_TABLE_KEY - Static variable in class org.ujorm.orm.SqlDialect
The table key for a common sequence emulator.
compareTo(MetaDatabase) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Compare the object by ORDER.
config(String) - Method in class org.ujorm.orm.OrmHandler
Load parameters from an external XML file.
config(MetaParams) - Method in class org.ujorm.orm.OrmHandler
Save the ORM parameters.
config(MetaRoot) - Method in class org.ujorm.orm.OrmHandler
Save the alternative ORM configuration including parameters (if the parameters are not null).
config(URL, boolean) - Method in class org.ujorm.orm.OrmHandler
Load parameters from an external XML file.
CONSTRAINT_NAME - Static variable in class org.ujorm.orm.metaModel.MetaColumn
A name of the constraint for the case a foreign key
CONVERTER - Static variable in class org.ujorm.orm.metaModel.MetaColumn
Convert, save and read application data from/to the database
count() - Method in class org.ujorm.core.UjoIterator
Returns a count of items or value -1 if the count is not known.
create(Session) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Create DB
create(MetaDatabase, Session) - Method in class org.ujorm.orm.metaModel.MetaDbService
Create DB
createBlob(byte[]) - Static method in class org.ujorm.orm.utility.OrmTools
Create a new Blob
createBlob(InputStream) - Static method in class org.ujorm.orm.utility.OrmTools
Create a new Blob
createBO() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns a new instance or the BO.
createClob(char[]) - Static method in class org.ujorm.orm.utility.OrmTools
Create a new Clob.
createClob(String) - Static method in class org.ujorm.orm.utility.OrmTools
Create a new Clob.
createClob(Reader) - Static method in class org.ujorm.orm.utility.OrmTools
Create a new Clob.
createConnection() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Create connection with auto-commit false.
createConnection(MetaDatabase) - Method in class org.ujorm.orm.SqlDialect
Create a new database connection
createCriterion(MetaTable, Criterion, List<Object>) - Static method in class org.ujorm.orm.utility.OrmTools
Create new a Criterion.
createForeignKey(List<MetaColumn>) - Method in class org.ujorm.orm.metaModel.MetaDbService
6.
createIndexForColumn(String, MetaColumn) - Method in class org.ujorm.orm.metaModel.MetaTable
Create an Index For the Column
createIndexNameForColumn(MetaColumn, boolean) - Method in class org.ujorm.orm.metaModel.MetaTable
Create an Index For the Column
createInnerSelectPart(Query, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Inner select select with under aliases assignment and order columns (have to propagate to outer select)
createInternalConnection() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Call the method from SqlDialect only.
createJndiInitialContext(MetaDatabase) - Method in class org.ujorm.orm.SqlDialect
Get or create an Initial Context for the JNDI lookup.
createKey(String, T, Validator<T>) - Method in class org.ujorm.orm.OrmKeyFactory
Common protected factory method
createNewColumn(List<MetaColumn>, List<MetaColumn>) - Method in class org.ujorm.orm.metaModel.MetaDbService
4.
createNextSequence(String) - Method in class org.ujorm.orm.NativeDbSequencer
Create a SQL script for the NEXT SEQUENCE from a native database sequencer
createOuterPart(String, Query, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Outer part of select with sorting
createPkCriterion(OrmUjo) - Method in class org.ujorm.orm.Session
Returns an criterion by a PrimaryKey
createQuery(Class<UJO>) - Method in class org.ujorm.orm.Session
Create query for all table rows.
createQuery(Class<UJO>, Criterion<UJO>) - Method in class org.ujorm.orm.Session
Deprecated. Use the method createQuery(Criterion, Class) rather.
createQuery(Criterion<UJO>, Class<UJO>) - Method in class org.ujorm.orm.Session
Create query.
createQuery(Criterion<UJO>) - Method in class org.ujorm.orm.Session
The table class is derived from the first criterion column.
createRowOrderPart(Query, Appendable, boolean) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Creating RowNumber column
createSchema(int, List<MetaTable>, Connection) - Method in class org.ujorm.orm.metaModel.MetaDbService
2.
createSequencer(MetaTable) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Create a new sequencer for selected table
createSequenceTable(boolean) - Method in class org.ujorm.orm.metaModel.MetaDbService
7.
createService() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Create a service method
createSession() - Method in class org.ujorm.orm.OrmHandler
Create new session
createSubQuery(CriterionDecoder) - Method in class org.ujorm.orm.SqlDialect
Create a subquery for the DELETE/UPDATE statement
createTable(List<MetaTable>, List<MetaColumn>) - Method in class org.ujorm.orm.metaModel.MetaDbService
3.
createTableComments(List<MetaTable>) - Method in class org.ujorm.orm.metaModel.MetaDbService
8.
createTableComments(List<MetaTable>, StringBuilder) - Method in class org.ujorm.orm.metaModel.MetaDbService
Create table and column comments.
createWherePart(Query, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Where clause for inner select
criterion - Variable in class org.ujorm.orm.CriterionDecoder
 
CriterionDecoder - Class in org.ujorm.orm
SQL Criterion Decoder.
CriterionDecoder(Criterion, MetaTable) - Constructor for class org.ujorm.orm.CriterionDecoder
Constructor
CriterionDecoder(Criterion, MetaTable, List<Key>) - Constructor for class org.ujorm.orm.CriterionDecoder
Constructor

D

DATABASE - Static variable in class org.ujorm.orm.metaModel.MetaProcedure
Database
DATABASE - Static variable in class org.ujorm.orm.metaModel.MetaTable
Database
DATABASES - Static variable in class org.ujorm.orm.metaModel.MetaRoot
List of tables
DATE_SQL - Static variable in class org.ujorm.orm.TypeService
 
DATE_UTIL - Static variable in class org.ujorm.orm.TypeService
 
Db - Annotation Type in org.ujorm.orm.annot
Use the annotation to mark a Key static field like XML Attribute.
db - Variable in class org.ujorm.orm.metaModel.MetaDbService
Meta Database from constructor
DB_PROPERTY - Static variable in class org.ujorm.orm.metaModel.MetaProcedure
Procedure key (a base definition of the procedure)
DB_PROPERTY - Static variable in class org.ujorm.orm.metaModel.MetaTable
Database relative key (a base definition of table)
DB_TYPE - Static variable in class org.ujorm.orm.metaModel.MetaColumn
Database Type
dbIdentifier(String, DatabaseMetaData) - Method in class org.ujorm.orm.metaModel.MetaDbService
Returns a native database identifirer.
DbProcedure<UJO extends DbProcedure> - Class in org.ujorm.orm
Abstract database procedure.
DbProcedure() - Constructor for class org.ujorm.orm.DbProcedure
 
DbType - Enum in org.ujorm.orm
Supported Database Types
DEFAULT_SCHEMA_SYMBOL - Static variable in class org.ujorm.orm.SqlDialect
The default schema symbol
DEFAULT_VALUE - Static variable in class org.ujorm.orm.metaModel.MetaColumn
DB Default value
DEFAULT_VALUES_IN_DB_ALLOWED - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
Specifies if default values in DB are allowed.
delete(Criterion<UJO>) - Method in class org.ujorm.orm.Session
Delete all object object by the criterion from parameter.
delete(OrmUjo) - Method in class org.ujorm.orm.Session
Delete an optional object from the parameters.
delete(Class<UJO>, Criterion<UJO>) - Method in class org.ujorm.orm.Session
Delete all object object by the criterion from parameter.
delete(MetaTable, Criterion<UJO>) - Method in class org.ujorm.orm.Session
Delete all objects object form parameter
Warning: method does not remove deleted object from internal cache, however you can call method clearCache() to release all objects from the cache.
delistResource(XAResource, int) - Method in class org.ujorm.orm.Transaction
DerbyDialect - Class in org.ujorm.orm.dialect
Derby (http://db.apache.org/derby/)
NOTE: Dialect supports a LIMIT and OFFSET of the Derby release 10.5
DerbyDialect() - Constructor for class org.ujorm.orm.dialect.DerbyDialect
 
dialect - Variable in class org.ujorm.orm.CriterionDecoder
 
DIALECT - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
SQL dialect type of Class<SqlDialect>
dialect - Variable in class org.ujorm.orm.SqlDialectEx
The main dialect
DIALECT_MYSQL_ENGINE_TYPE - Static variable in class org.ujorm.orm.metaModel.MoreParams
A default engine for the MySQL dialect.
DOUBLE - Static variable in class org.ujorm.orm.TypeService
 

E

ENABLE_TO_UNLOCK_IMMUTABLE_METAMODEL - Static variable in class org.ujorm.orm.metaModel.MoreParams
EFFECTIVA REQUEST: enable to unlock the immutable MetaTable model
enlistResource(XAResource) - Method in class org.ujorm.orm.Transaction
ENUM - Static variable in class org.ujorm.orm.TypeService
 
equals(Object) - Method in class org.ujorm.orm.AliasKey
 
equals(Object) - Method in class org.ujorm.orm.ao.CacheKey
Has the two objects the same PK values ?
equals(Object) - Method in interface org.ujorm.orm.ColumnWrapper
Method returns the true value if two attributes Keys are the same
equals(Object) - Method in class org.ujorm.orm.ForeignKey
 
equals(Object) - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Two models are the same if its key names are the same for the same domain type.
equals(Object) - Method in class org.ujorm.orm.impl.TableWrapperImpl
Table model and alias must be the same
equals(Object) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Equals
equals(Object) - Method in class org.ujorm.orm.metaModel.MetaProcedure
Compare object by the same instance.
equals(Object) - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Two models are the same if its key names are the same for the same domain type.
equals(Object) - Method in class org.ujorm.orm.metaModel.MetaTable
Compare object by the same instance.
equalsTo(LazyLoading) - Method in enum org.ujorm.orm.ao.LazyLoading
Type safe equalsTo
escape(CharSequence, Appendable) - Method in class org.ujorm.orm.SqlDialect
Escape the special character: "'"
execute(String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
execute(String, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
execute(String, int[]) - Method in exception org.ujorm.orm.ao.UjoStatement
 
execute(String, String[]) - Method in exception org.ujorm.orm.ao.UjoStatement
 
execute() - Method in exception org.ujorm.orm.ao.UjoStatement
 
execute() - Method in class org.ujorm.orm.JdbcStatement
Call the procedure.
executeBatch() - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeQuery() - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeQuery(String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeQuery() - Method in class org.ujorm.orm.JdbcStatement
 
executeSql(Connection, String, String) - Method in class org.ujorm.orm.UjoSequencer
Executes UPDATE for required parameters
executeUpdate() - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeUpdate(String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeUpdate(String, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeUpdate(String, int[]) - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeUpdate(String, String[]) - Method in exception org.ujorm.orm.ao.UjoStatement
 
executeUpdate() - Method in class org.ujorm.orm.JdbcStatement
Run INSERT, UPDATE or DELETE.
executeUpdate(Appendable, MetaTable) - Method in class org.ujorm.orm.metaModel.MetaDbService
Check missing database table, index, or column
exists() - Method in class org.ujorm.orm.Query
The method performs a new database request and returns result of the function UjoIterator.hasNext().
exists(Criterion<UJO>) - Method in class org.ujorm.orm.Session
Returns true if exists any database row with the required condition.
exists(Class<UJO>) - Method in class org.ujorm.orm.Session
Returns true if exists any database row for the required entity.
exists(MetaTable, Criterion<UJO>, Key) - Method in class org.ujorm.orm.Session
Returns true if exists any database row for the required criterion.
EXPORT_ENUM - Static variable in class org.ujorm.orm.TypeService
 
exportToBytes() - Method in interface org.ujorm.orm.BytesWrapper
Export the value as an array of bytes.
ExtendedOrmUjo<UJO_IMPL extends Ujo> - Interface in org.ujorm.orm
Extended ORM Ujo.
EXTENTED_INDEX_NAME_STRATEGY - Static variable in class org.ujorm.orm.metaModel.MoreParams
EFFECTIVA REQUEST: an extended index name strategy where the default value is false

F

findAnnotation(Key<?, ?>, Class<T>) - Method in class org.ujorm.orm.OrmHandler
Find a key annotation by the required type.
findCache(Class, Object) - Method in class org.ujorm.orm.Session
Find object from internal cache
findCache(Class, Object...) - Method in class org.ujorm.orm.Session
Find object from internal cache
findColumnModel(Key) - Method in class org.ujorm.orm.OrmHandler
Find a Relation/Column model of the paramemeter key.
findColumnModel(Key, boolean) - Method in class org.ujorm.orm.OrmHandler
Find a Relation/Column model of the paramemeter key.
findColumnModel(Key<UJO, ?>) - Method in class org.ujorm.orm.template.AliasTable
Find Column Model or throw an IllegalArgumentException.
findFirstSequencer() - Method in class org.ujorm.orm.metaModel.MetaDbService
Find the first sequence of the database or returns null if no sequence was not found.
findProcedureModel(Class<? extends DbProcedure>) - Method in class org.ujorm.orm.OrmHandler
Find a procedure model by the procedureClass.
findPropertiesByType(Class) - Method in class org.ujorm.orm.OrmHandler
Find all persistent keys with the required type or subtype.
findTableModel(Class<? extends OrmUjo>) - Method in class org.ujorm.orm.OrmHandler
Find a tableOf model by the dbClass.
FirebirdDialect - Class in org.ujorm.orm.dialect
 
FirebirdDialect() - Constructor for class org.ujorm.orm.dialect.FirebirdDialect
 
FKEY_DEF_NAME - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
FLOAT - Static variable in class org.ujorm.orm.TypeService
 
ForeignKey - Class in org.ujorm.orm
A Unique key of the entity OrmUjo
ForeignKey(Object) - Constructor for class org.ujorm.orm.ForeignKey
 
FROM - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 
FROM(Object...) - Static method in class org.ujorm.orm.template.AliasTable.Build
Build SQL FROM phrase

G

get(Key<UJO, VALUE>) - Method in class org.ujorm.implementation.orm.OrmTable
Getter based on Key implemeted by a pattern UjoExt
get(Key<UJO, VALUE>) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Getter based on Key implemeted by a pattern UjoExt
get(Key<UJO, VALUE>) - Method in class org.ujorm.orm.AbstractMetaModel
Getter based on one Key
getAlias() - Method in class org.ujorm.orm.impl.TableWrapperImpl
 
getAlias() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns a unique table name over all Databases of the one OrmHandler.
getAlias() - Method in interface org.ujorm.orm.TableWrapper
Returns a unique table name in the one SQL statement.
getAliasColumnName(ColumnWrapper) - Method in class org.ujorm.orm.SqlDialect
Returns quoted column name including the alias table
getAliasFrom() - Method in class org.ujorm.orm.AliasKey
Alias previous table
getAliasTo() - Method in class org.ujorm.orm.AliasKey
Alias the next table
getAssignedValues() - Method in class org.ujorm.orm.JdbcStatement
Return values in format: [1, "ABC", 2.55]
getBaseProperty() - Method in class org.ujorm.orm.CriterionDecoder
Returns the first direct key.
getBaseTable() - Method in class org.ujorm.orm.CriterionDecoder
Get Base Table
getBasicColumn(Criterion) - Method in class org.ujorm.orm.Session
Returns the first "basic" column of criterion.
getBlobBytes(Blob) - Static method in class org.ujorm.orm.utility.OrmTools
Returns byte array to the maximal length Integer.MAX_VALUE.
getBlobStream(Blob) - Static method in class org.ujorm.orm.utility.OrmTools
Returns a Blob byte array to the maximal length Integer.MAX_VALUE.
getCache() - Method in class org.ujorm.orm.SeqTableModel
Cache Column Name, default value is 'cache'.
getClob(Clob) - Static method in class org.ujorm.orm.utility.OrmTools
Returns a result to the maximal length Integer.MAX_VALUE.
getClobString(Clob) - Static method in class org.ujorm.orm.utility.OrmTools
Returns a result to the maximal length Integer.MAX_VALUE.
getColumn(OrmHandler) - Method in class org.ujorm.orm.AliasKey
Create a new ColumnWrapper for a required alias
getColumn(int) - Method in class org.ujorm.orm.CriterionDecoder
Returns direct column or throw an exception
getColumn(int) - Method in class org.ujorm.orm.metaModel.MetaPKey
Returns column on the selected position.
getColumnAlias() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a full SQL column alias name by sample: "TABLE_ALIAS"."ORIG_COLUMN"
getColumnArray() - Method in class org.ujorm.orm.Query
Create a new column List.
getColumnCount() - Method in class org.ujorm.orm.CriterionDecoder
Returns a column count
getColumns() - Method in class org.ujorm.orm.impl.TableWrapperImpl
 
getColumns() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns all columns
getColumns() - Method in class org.ujorm.orm.Query
Get Column Collection
getColumns() - Method in interface org.ujorm.orm.TableWrapper
Get all table columns
getColumnType(MetaColumn) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
getColumnType(MetaColumn) - Method in class org.ujorm.orm.dialect.MySqlDialect
MySQL dialect uses a database type DATETIME (instead of the TIMESTAMP) for the java.util.Date.
getColumnType(MetaColumn) - Method in class org.ujorm.orm.dialect.OracleDialect
PostgreSql dialect uses a database type OID (instead of the BLBO).
getColumnType(MetaColumn) - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
PostgreSql dialect uses a database type OID (instead of the BLBO).
getColumnType(MetaColumn) - Method in class org.ujorm.orm.SqlDialect
Returns a database column type
getComment() - Method in class org.ujorm.orm.metaModel.MetaColumn
Get a Comment from meta-model annotation.
getComment() - Method in class org.ujorm.orm.metaModel.MetaTable
Get a Comment from meta-model annotation.
getConfig() - Method in class org.ujorm.orm.OrmHandler
Returns a final meta-model in the XML format
getConnection() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getConnection(int, boolean) - Method in class org.ujorm.orm.Session
Get a Connection for a required databse by a database order number (index).
getConnection(MetaDatabase, boolean) - Method in class org.ujorm.orm.Session
Get or create a Connection for a required database with an autocommit na false.
getConstraintName() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a constraint name for case a foreigh key
getConverter() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returna not null converter
getConverter(Class<T>) - Method in class org.ujorm.orm.metaModel.MetaParams
Returns a converter instance.
getCount() - Method in class org.ujorm.orm.metaModel.MetaPKey
Returns a count of the Primary Keys
getCount() - Method in class org.ujorm.orm.Query
Returns a count of the items
getCount() - Method in class org.ujorm.orm.SqlParameters
Returns parameter count of the SQL parameters
getCriterion() - Method in class org.ujorm.orm.CriterionDecoder
Returns the criterion from costructor.
getCriterion() - Method in class org.ujorm.orm.Query
Criterion
getCriterionTemplate(ValueCriterion) - Method in class org.ujorm.orm.SqlDialect
Returns an SQL criterion template.
getCurrentDBSequence(Connection, StringBuilder) - Method in class org.ujorm.orm.UjoSequencer
Returns current db sequence for an actual table with a performance optimizations.
getDatabase() - Method in class org.ujorm.orm.metaModel.MetaProcedure
Returns the database
getDatabase() - Method in class org.ujorm.orm.metaModel.MetaRoot
Returns the first database or return null
getDatabase(String) - Method in class org.ujorm.orm.metaModel.MetaRoot
Returns the first database with required name or returns null.
getDatabase() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns the database
getDatabase(Class<DB>) - Method in class org.ujorm.orm.Session
Returns a Database instance.
getDatabase() - Method in class org.ujorm.orm.UjoSequencer
Returns model of the database
getDatabaseCount() - Method in class org.ujorm.orm.metaModel.MetaRoot
Returns the total count of databases.
getDatabases() - Method in class org.ujorm.orm.OrmHandler
Returns all database
getDatabaseSchema() - Method in class org.ujorm.orm.UjoSequencer
Returns the database schema
getDatabaseValue(MetaColumn, Object) - Method in exception org.ujorm.orm.ao.UjoStatement
Returns a any value in a JDBC friendly type.
getDbTypeClass(MetaColumn) - Method in interface org.ujorm.orm.ITypeService
Return an converted Java type to use in database DDL statements.
getDbTypeClass() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a native database code for a DDL statements
getDbTypeClass(MetaColumn) - Method in class org.ujorm.orm.TypeService
Return an converted Java type to database DDL statements by a generic test.
getDecoder() - Method in class org.ujorm.orm.Query
Method builds and retuns a criterion decoder.
getDefaultColumns() - Method in class org.ujorm.orm.Query
Returns all direct columns of the base table.
getDefaultSession() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Returns a default handler session.
getDefaultSession() - Method in class org.ujorm.orm.OrmHandler
Get a default Session of the OrmHandler.
getDefaultValue(MetaColumn) - Method in exception org.ujorm.orm.ao.UjoStatement
Returns a default value in a JDBC friendly type.
getDialect() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Returns a SQL dialect for the current database.
getDialect() - Method in class org.ujorm.orm.metaModel.MetaDbService
 
getDialect(Class<? extends OrmUjo>) - Method in class org.ujorm.orm.Session
Check dialecttype
getDialect() - Method in class org.ujorm.orm.template.AliasTable
Returns SQL Dialect
getDialectClass() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a SQL dialect class from a related Database
getDialectEx() - Method in class org.ujorm.orm.metaModel.MetaDbService
Returns an extended dialect
getDialectName() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a SQL dialect class from a related Database
getEngine(MetaTable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Returns a MySQL enginge.
getExtentedDialect() - Method in class org.ujorm.orm.SqlDialect
Get Exted dialect
getFetchDirection() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getFetchSize() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getFetchSize() - Method in class org.ujorm.orm.Query
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed.
getFirstColumn() - Method in class org.ujorm.orm.metaModel.MetaPKey
Returns the first column.
getFirstConnection() - Method in class org.ujorm.orm.Session
Get the first Connection where an autocommit is set to false.
getFirstConnection(boolean) - Method in class org.ujorm.orm.Session
Get the first Connection where an autocommit is set to false.
getFirstDatabase() - Method in class org.ujorm.orm.Session
Returns the first Database instance.
getFirstPK() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns the first PK
getForeignColumnName(int) - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a name of foreign column by index
getForeignColumns() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns an original foreign columns in case a foreign column.
getForeignColumns() - Method in class org.ujorm.orm.metaModel.MetaTable
Get all foreign columns
getForeignTable() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns an original foreign columns in case a foreign column.
getFullName() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a DB, TABLE and COLUMN name
getGeneratedKeys() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getHandler() - Method in class org.ujorm.orm.CriterionDecoder
Returns handler
getHandler() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
OrmHandler
getHandler() - Method in class org.ujorm.orm.Session
Returns a handler
getId() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Returns an ID of the MetaDatabase.
getId() - Method in class org.ujorm.orm.SeqTableModel
ID column name, default value is 'id'.
getIncrement() - Method in class org.ujorm.orm.UjoSequencer
The UJO cache is the number of pre-allocated numbers inside the OrmUjo framework.
getIndexCollection() - Method in class org.ujorm.orm.metaModel.MetaTable
Create a new collection of the table indexes.
getIndexList() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Returns all database indexes
getIndexName(MetaColumn...) - Method in class org.ujorm.orm.SqlNameProvider
Create an exact index name
getInitDbCache() - Method in class org.ujorm.orm.UjoSequencer
The cache of a database sequence is zero by default.
getInitializationBatch() - Method in class org.ujorm.orm.metaModel.MetaParams
Retunrs an instance of the initialization batch
getInstance(Iterator<T>) - Static method in class org.ujorm.core.UjoIterator
Deprecated. Use the method UjoIterator.of(java.util.Iterator) rather
getInstance(Collection<T>) - Static method in class org.ujorm.core.UjoIterator
Deprecated. Use the method {@link #of(java.util.Collection) rather
getInstance(Query<T>) - Static method in class org.ujorm.core.UjoIterator
Deprecated. Use the method {@link #of(org.ujorm.orm.Query) rather
getJdbcDriver() - Method in class org.ujorm.orm.dialect.DerbyDialect
Embeded driver is default
getJdbcDriver() - Method in class org.ujorm.orm.dialect.FirebirdDialect
 
getJdbcDriver() - Method in class org.ujorm.orm.dialect.H2Dialect
Returns a JDBC Driver
getJdbcDriver() - Method in class org.ujorm.orm.dialect.HsqldbDialect
 
getJdbcDriver() - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
getJdbcDriver() - Method in class org.ujorm.orm.dialect.MySqlDialect
 
getJdbcDriver() - Method in class org.ujorm.orm.dialect.OracleDialect
 
getJdbcDriver() - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
 
getJdbcDriver() - Method in class org.ujorm.orm.SqlDialect
Returns a JDBC driver class name.
getJdbcFriendlyDefaultValue() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a default value in a JDBC friendly type.
getJdbcUrl() - Method in class org.ujorm.orm.dialect.DerbyDialect
Syntax: jdbc:derby:[subsubprotocol:][databaseName][;attribute=value]*
getJdbcUrl() - Method in class org.ujorm.orm.dialect.FirebirdDialect
 
getJdbcUrl() - Method in class org.ujorm.orm.dialect.H2Dialect
Returns a default JDBC URL
getJdbcUrl() - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
getJdbcUrl() - Method in class org.ujorm.orm.dialect.MySqlDialect
 
getJdbcUrl() - Method in class org.ujorm.orm.dialect.OracleDialect
 
getJdbcUrl() - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
 
getJdbcUrl() - Method in class org.ujorm.orm.SqlDialect
Returns a default JDBC URL
getKey() - Method in class org.ujorm.orm.AliasKey
The direct Key
getKey() - Method in interface org.ujorm.orm.ColumnWrapper
Returns an original key
getKey() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Returns an original Key
getKey() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Returns a column direct key
getKeywordSet(Connection) - Method in class org.ujorm.orm.SqlDialect
Return database SQL keyword set in the upper case.
getLastKey(Key<?, ?>) - Static method in class org.ujorm.orm.AliasKey
Add the last condition
getLazyLoading() - Method in class org.ujorm.orm.Session
Enable a lazy-loading of related Ujo object.
getLimit() - Method in class org.ujorm.orm.Query
The max row count for the resultset.
getLimitedCount() - Method in class org.ujorm.orm.Query
Returns a database row count along a current limit and offset attribues.
getMaxFieldSize() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getMaxLength() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a maximal db column length in the database.
getMaxRows() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getMaxValue() - Method in class org.ujorm.orm.SeqTableModel
MaxValue column name, default value is 'max_value'.
getMetaData() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getModel() - Method in interface org.ujorm.orm.ColumnWrapper
Returns an original meta-table model
getModel() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Returns an original column model
getModel() - Method in class org.ujorm.orm.impl.TableWrapperImpl
 
getModel() - Method in class org.ujorm.orm.metaModel.MetaColumn
Get link to a column meta-model
getModel() - Method in class org.ujorm.orm.metaModel.MetaTable
Return an instance of Meta Model
getModel() - Method in interface org.ujorm.orm.TableWrapper
Returns a meta-tablemodel
getMoreResults() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getMoreResults(int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
getName() - Method in interface org.ujorm.orm.ColumnWrapper
Returns an original column name
getName() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Returns an original colum name
getName() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a column name
getNameProvider() - Method in class org.ujorm.orm.SqlDialect
Returns a name provider
getNameProvider() - Method in class org.ujorm.orm.SqlDialectEx
Returns a name provider
getOffset() - Method in class org.ujorm.orm.Query
Get the first row to retrieve (offset).
getOperator(int) - Method in class org.ujorm.orm.CriterionDecoder
Returns operator.
getOrderAsArray() - Method in class org.ujorm.orm.Query
Get the order item array.
getOrderBy() - Method in class org.ujorm.orm.Query
Get the order item list.
getOrm2ddlPolicy() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns Orm2DDl policy
getOrmColumns(Key...) - Method in class org.ujorm.orm.Session
Convert a key array to a column list.
getOrmHandler() - Method in class org.ujorm.orm.metaModel.MetaDatabase
OrmHandler
getOrmHandler() - Method in class org.ujorm.orm.OrmHandler
Returns the same instance
getOrmHandler() - Method in interface org.ujorm.orm.OrmHandlerProvider
Create instance and configure the OrmHandler object
getParameter(int) - Method in class org.ujorm.orm.SqlParameters
SQL Parameter value
getParameterMetaData() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getParameters() - Method in class org.ujorm.orm.OrmHandler
Returns parameters
getParameters() - Method in class org.ujorm.orm.Session
Returns parameters
getParameters() - Method in class org.ujorm.orm.SqlParameters
SQL Parameter values
getParams() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Return the OrmHandler parameters
getParent(OrmUjo) - Method in class org.ujorm.orm.metaModel.MetaTable
Returns a parent of the parameter or the null if no parent was not found.
The method provides a parent in case of emulated inheritance.
getPrecision() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns the db column precision.
getProcedureName() - Method in class org.ujorm.orm.metaModel.MetaProcedure
Procedure name
getPropertyRelations() - Method in class org.ujorm.orm.CriterionDecoder
Returns the unique direct key relations.
getQueryTimeout() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getQuotedName(CharSequence) - Method in class org.ujorm.orm.SqlDialect
Prints quoted name (identifier) to SQL - always.
getRelatedKey() - Method in class org.ujorm.implementation.orm.RelationToOne
Return null if no related key was assigned.
getResultSet() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getResultSetConcurrency() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getResultSetHoldability() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getResultSetType() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getRowCount(Query<UJO>) - Method in class org.ujorm.orm.Session
Returns a count of rows
getSchemas(List<MetaTable>) - Method in class org.ujorm.orm.metaModel.MetaDatabase
Get all table schemas
getSeqTableModel() - Method in class org.ujorm.orm.SqlDialect
The table model for an internal sequence table support
getSequence() - Method in class org.ujorm.orm.SeqTableModel
Sequence column name, default value is 'seq'.
getSequencer() - Method in class org.ujorm.orm.metaModel.MetaTable
UJO sequencer
getSession() - Method in class org.ujorm.orm.OrmHandler
Deprecated. Method was replaced by the name OrmHandler.getDefaultSession()
getSession() - Method in class org.ujorm.orm.Query
Session
getSession() - Method in class org.ujorm.orm.Transaction
Get the current Session.
getSql() - Method in class org.ujorm.orm.metaModel.MetaDbService
SQL Buffer
getSqlParameters() - Method in class org.ujorm.orm.Query
Get a SQL parameters of the Native view
getSqlStatement() - Method in class org.ujorm.orm.SqlParameters
SQL Statement, the NULL value means an undefined statement
getSqlType() - Method in enum org.ujorm.orm.DbType
Returns an JDBC SQL type
getStatement() - Method in class org.ujorm.orm.Query
Create a PreparedStatement including assigned parameter values
getStatement(Query) - Method in class org.ujorm.orm.Session
Run SQL SELECT by query.
getStatement(MetaDatabase, CharSequence, boolean) - Method in class org.ujorm.orm.Session
Create new statement and assigng Savepoint for a trnasaction sase.
getStatementCallable(MetaDatabase, String, boolean) - Method in class org.ujorm.orm.Session
Create new statement
getStatementInfo() - Method in class org.ujorm.orm.Query
Get the SQL statement or null, of statement is not known yet.
getStatus() - Method in class org.ujorm.orm.Transaction
JTA Status
getTable() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Returns a table model
getTable() - Method in class org.ujorm.orm.UjoSequencer
Returns a related table or null if sequence is general for the all MetaDatabase space
getTableAlias() - Method in interface org.ujorm.orm.ColumnWrapper
Returns always the NonNull alias of the related database table
getTableAlias() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Returns always the NonNull alias of the related database table
getTableAlias() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Returns an alias of the table model
getTableClass() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Returns a class of column table.
getTableCount() - Method in class org.ujorm.orm.CriterionDecoder
Returns all participated tables include the parameter table.
getTableModel() - Method in class org.ujorm.orm.Query
Table Type
getTableModel() - Method in class org.ujorm.orm.template.AliasTable
Get table Alias
getTableName() - Method in class org.ujorm.orm.SeqTableModel
The table key for a common sequence emulator.
getTables() - Method in class org.ujorm.orm.CriterionDecoder
Returns all participated tables include the parameter table.
getTablesSorted() - Method in class org.ujorm.orm.CriterionDecoder
Returns all participated tables include the parameter table.
getTableTotalCount() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Returns a full count of the database tables (views are excluded)
getTransaction() - Method in class org.ujorm.orm.Session
Returns the current transaction
getType() - Method in class org.ujorm.orm.ao.CacheKey
OrmUjo class
getType() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a Java Class of value
getType() - Method in class org.ujorm.orm.metaModel.MetaProcedure
Returns a base table class.
getType() - Method in class org.ujorm.orm.metaModel.MetaTable
Returns a base table class.
getTypeCode() - Method in class org.ujorm.orm.metaModel.MetaColumn
A TypeCode
getTypeCode(MetaColumn) - Static method in class org.ujorm.orm.TypeService
The method returns a Java data type code.
getUniqueConstraintName(List<MetaColumn>) - Method in class org.ujorm.orm.SqlNameProvider
 
getUniqueConstraintName(MetaColumn...) - Method in class org.ujorm.orm.SqlNameProvider
getUniqueConstraintName
getUpdateCount() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getValue(int) - Method in class org.ujorm.orm.ao.CacheKey
Returns a PK on the selected index.
getValue() - Method in exception org.ujorm.orm.ao.UjoStatement
Return the last database value assigned by a JDBC API,
getValue(int) - Method in class org.ujorm.orm.CriterionDecoder
Returns value
getValue() - Method in class org.ujorm.orm.ForeignKey
 
getValue(MetaColumn, ResultSet, int) - Method in interface org.ujorm.orm.ITypeService
GetValue from the result set by position It must be the same implementation as ITypeService.getValue(org.ujorm.orm.metaModel.MetaColumn, java.sql.CallableStatement, int).
getValue(MetaColumn, CallableStatement, int) - Method in interface org.ujorm.orm.ITypeService
GetValue from the stored precedure by position.
getValue(OrmUjo) - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a key value from a table
getValue(Ujo) - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Get key value
getValue(MetaColumn, ResultSet, int) - Method in class org.ujorm.orm.TypeService
GetValue from the result set by position It must be the same implementation as #of(org.ujorm.orm.metaModel.MetaColumn, java.sql.CallableStatement, int).
getValue(MetaColumn, CallableStatement, int) - Method in class org.ujorm.orm.TypeService
GetValue from the stored precedure by position.
getValueExtended(int) - Method in class org.ujorm.orm.CriterionDecoder
Returns an extended value to the SQL statement
getWarnings() - Method in exception org.ujorm.orm.ao.UjoStatement
 
getWhere() - Method in class org.ujorm.orm.CriterionDecoder
Returns a SQL WHERE 'expression' of an empty string if no conditon is found.
GROUP - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 

H

H2Dialect - Class in org.ujorm.orm.dialect
H2 (http://www.h2database.com)
H2Dialect() - Constructor for class org.ujorm.orm.dialect.H2Dialect
 
handler - Variable in class org.ujorm.orm.CriterionDecoder
 
hasDefaultValue() - Method in class org.ujorm.orm.metaModel.MetaColumn
Has the key a default value (not null) ? If the default value is an empty String than method returns false.
hasDialect(Class<? extends OrmUjo>, Class<? extends SqlDialect>...) - Method in class org.ujorm.orm.Session
Returns true, if Corm type have got any from listed dialects
hashCode() - Method in class org.ujorm.orm.AliasKey
 
hashCode() - Method in class org.ujorm.orm.ao.CacheKey
Returns hash code
hashCode() - Method in class org.ujorm.orm.ForeignKey
 
hashCode() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
The hashCode form the Key name
hashCode() - Method in class org.ujorm.orm.impl.TableWrapperImpl
Table model and alias must be the same
hashCode() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Hash code
hashCode() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
 
hasNext() - Method in class org.ujorm.core.UjoIterator
Tests if this enumeration contains more elements.
HsqldbDialect - Class in org.ujorm.orm.dialect
Hsqldb dialect (http://hsqldb.org)
HsqldbDialect() - Constructor for class org.ujorm.orm.dialect.HsqldbDialect
 

I

ID - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
The meta-model id
ID - Static variable in class org.ujorm.orm.metaModel.MetaProcedure
The meta-model id
ID - Static variable in class org.ujorm.orm.metaModel.MetaRelation2Many
The meta-model ID.
ID - Static variable in class org.ujorm.orm.metaModel.MetaTable
The meta-model id
INDEX - Static variable in class org.ujorm.orm.metaModel.MetaColumn
A name of the non-unique database index for the column, where the same index can contain more columns.
INHERITANCE_MODE - Static variable in class org.ujorm.orm.metaModel.MetaParams
Any action type or CREATE, UPDATE, DELETE on inheritance objects calls the same action to its 'parent' object.
INITIALIZATION_BATCH - Static variable in class org.ujorm.orm.metaModel.MetaParams
An inicializaton batch implementation can be called after building the ORM meta-model.
InitializationBatch - Interface in org.ujorm.orm
An inicializaton batch implementation can be called after building the ORM meta-model.
initialize(Connection) - Method in class org.ujorm.orm.metaModel.MetaDbService
0.
initTypeCode() - Method in class org.ujorm.orm.metaModel.MetaColumn
Initialize a type code - for an internal use only.
INNER_JOIN(Object, Object...) - Static method in class org.ujorm.orm.template.AliasTable.Build
Build SQL FROM phrase
INSERT_MULTIROW_ITEM_LIMIT - Static variable in class org.ujorm.orm.metaModel.MetaParams
The parameter is used to limit of the insert sttatemtn in case the "sql multirow insert".
INT - Static variable in class org.ujorm.orm.TypeService
 
isAnyChange() - Method in class org.ujorm.orm.metaModel.MetaDbService
Has the database any change?
isCatalog() - Method in class org.ujorm.orm.dialect.MSSqlDialect
Does the database support a catalog? The feature supports: MySqlDialect and MSSqlDialect.
isCatalog() - Method in class org.ujorm.orm.dialect.MySqlDialect
Does the database support a catalog? The feature supports: MySqlDialect and MSSqlDialect.
isCatalog() - Method in class org.ujorm.orm.metaModel.MetaDbService
Does the database support a catalog? The feature supports: MySqlDialect and MSSqlDialect.
isCatalog() - Method in class org.ujorm.orm.SqlDialect
Does the database support a catalog? The feature supports: MySqlDialect and MSSqlDialect.
isClosed() - Method in exception org.ujorm.orm.ao.UjoStatement
 
isClosed() - Method in class org.ujorm.orm.Session
Is the session closed?
isCloseOnCompletion() - Method in exception org.ujorm.orm.ao.UjoStatement
Java 7 Required
isColumn() - Method in class org.ujorm.orm.metaModel.MetaColumn
It is a DB column (either a value of a foreign key), not a relation to many.
isColumn() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
It is a DB column (either a value of a foreign key), not a relation to many.
isColumnLengthAllowed(MetaColumn) - Method in class org.ujorm.orm.SqlDialect
Is allowed a column length in a SQL phrase for creating column? The length example can be: NAME CHAR(10)
isCommented() - Method in class org.ujorm.orm.metaModel.MetaColumn
Has the instance assigned a non empty comment?
isCommented() - Method in class org.ujorm.orm.metaModel.MetaTable
Has the instance assigned a non empty comment?
isCompositeKey() - Method in interface org.ujorm.orm.ColumnWrapper
Returns if key is type of CompositeKey
isCompositeKey() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Is it a composite Key?
isCompositeKey() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Is it newer the composite Key
isDatabaseLoaded() - Method in class org.ujorm.orm.OrmHandler
Returns true, if a database meta-model is loaded.
isDefaultSchema() - Method in class org.ujorm.orm.metaModel.MetaTable
Has this table assigned the database default database schema ?
isDistinct() - Method in class org.ujorm.orm.Query
Select DISTINCT for a unique row result
isEmpty() - Method in class org.ujorm.orm.CriterionDecoder
Is the SQL statement empty?
isFilled(CharSequence) - Method in class org.ujorm.orm.SqlDialect
Returns true, if the argument text is not null and not empty.
isFilled(CharSequence) - Static method in class org.ujorm.orm.utility.OrmTools
Is the Text not null and not empty ?
isFilled(Collection) - Static method in class org.ujorm.orm.utility.OrmTools
Is the Collection not null and not empty ?
isFilled(Object) - Static method in class org.ujorm.orm.utility.OrmTools
Returns true, if the argument text is not null and not empty.
isForeignKey() - Method in class org.ujorm.orm.metaModel.MetaColumn
Is it a Foreign Key ?
isForeignKey() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Is it a Foreign Key ?
isInput(MetaColumn) - Method in class org.ujorm.orm.metaModel.MetaProcedure
Is it an INPUT key ?
isLimit() - Method in class org.ujorm.orm.Query
The max row count for the resultset.
isLockRequest() - Method in class org.ujorm.orm.Query
Pessimistic lock request
isMandatory() - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns true if the related db column is NOT NULL.
isModelChanged(Connection, List<MetaTable>, List<MetaColumn>, List<MetaIndex>) - Method in class org.ujorm.orm.metaModel.MetaDbService
Find database table or columns to modify.
isMultiRowInsertSupported() - Method in class org.ujorm.orm.dialect.FirebirdDialect
Multi row INSERT is not implemented in this dialect yet due:
Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception.
isMultiRowInsertSupported() - Method in class org.ujorm.orm.dialect.HsqldbDialect
Database HSQLDB does not supports the MultiRow INSERT.
isMultiRowInsertSupported() - Method in class org.ujorm.orm.SqlDialect
Is supported the Multirow inserts ? Default value is true
isOffset() - Method in class org.ujorm.orm.Query
Has this Query an offset?
isOutput(MetaColumn) - Method in class org.ujorm.orm.metaModel.MetaProcedure
Is it an OUTPUT key ?
isPersistent() - Method in class org.ujorm.orm.metaModel.MetaTable
Is the instance a database relation model?
isPersistent(Key) - Method in class org.ujorm.orm.OrmHandler
Is the parameter a persistent key?
isPoolable() - Method in exception org.ujorm.orm.ao.UjoStatement
 
isPrimaryKey() - Method in class org.ujorm.orm.metaModel.MetaColumn
Is it a Primary Key?
isQuotedSqlNames() - Method in class org.ujorm.orm.metaModel.MetaParams
Skip the check test and Quote all SQL columns, tables and alias names.
isReadOnly() - Method in class org.ujorm.orm.metaModel.MetaTable
Have the table got a READ-ONLU mode ?
isReadOnly() - Method in class org.ujorm.orm.OrmHandler
Do the handler have a read-only state?
isRollbackOnly() - Method in class org.ujorm.orm.Session
The rollback is allowed only.
isRoot() - Method in class org.ujorm.orm.Transaction
Returns true, if the transactioni the ROOT.
isSelectModel() - Method in class org.ujorm.orm.metaModel.MetaTable
Is the query from a SQL select model ?
isSequenceTableRequired() - Method in class org.ujorm.orm.metaModel.MetaDatabase
Method returns true in case any table requires the internal table 'ujorm_pk_support' to get a next sequence value.
isSequenceTableRequired() - Method in class org.ujorm.orm.UjoSequencer
Method returns true because the internal table 'ujorm_pk_support' is required to get a next sequence value.
isTable() - Method in class org.ujorm.orm.metaModel.MetaTable
Is the instance a database persistent table? The false value means that the object is a relation model or a view.
isTypeOf(Class) - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Returns true if the key type is a type or subtype of the parameter class.
isView() - Method in class org.ujorm.orm.impl.TableWrapperImpl
 
isView() - Method in class org.ujorm.orm.metaModel.MetaTable
Is the current object a model of a database view ?
isView() - Method in interface org.ujorm.orm.TableWrapper
Is the instance a database relation model?
isVoid() - Method in class org.ujorm.orm.metaModel.MetaColumn
Is the related key type void?
isWrapperFor(Class<?>) - Method in exception org.ujorm.orm.ao.UjoStatement
 
iterate() - Method in class org.ujorm.orm.Query
Deprecated. Use Query.iterator() instead of.
iterateInternal(RelationToMany, OrmUjo) - Method in class org.ujorm.orm.Session
Iterate key of values
iterator() - Method in class org.ujorm.core.UjoIterator
Returns the same instance
iterator() - Method in class org.ujorm.orm.Query
Create a new iterator by the query.
ITypeService<J,D> - Interface in org.ujorm.orm
A type service for popular Java types and more.

J

JDBC_DRIVER - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
JDBC Driver
JDBC_URL - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
JDBC URL connection
JdbcStatement - Class in org.ujorm.orm
JdbcStatement
JdbcStatement(Connection, CharSequence, OrmHandler) - Constructor for class org.ujorm.orm.JdbcStatement
 
JdbcStatement(PreparedStatement, OrmHandler) - Constructor for class org.ujorm.orm.JdbcStatement
 
JNDI - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
JNDI (java naming and directory interface) connection string

L

LAZY_LOADING - Static variable in class org.ujorm.orm.metaModel.MetaParams
The parameter 'lazyLoading' specify a lazy-loading policy in case that UJO objects have got any sesson.
LazyLoading - Enum in org.ujorm.orm.ao
Lazy loading policy.
LIMIT - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 
list() - Method in class org.ujorm.orm.Query
There is recommended to use the method Query.iterator() rather.
list(int) - Method in class org.ujorm.orm.Query
Create list and Load all lazy values for the current parameter recursively until optional depth.
listDBTableColumns(MetaTable, DatabaseMetaData) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
listDBTableFKey(MetaTable, DatabaseMetaData) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
listDBTableIndexes(MetaTable, DatabaseMetaData, List<MetaColumn>) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
listDBTablePKey(MetaTable, DatabaseMetaData) - Method in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
load(Class<UJO>, Object) - Method in class org.ujorm.orm.Session
Load UJO by a unique id.
loadBy(UJO) - Method in class org.ujorm.orm.Session
Load UJO by a unique id.
loadDatabase(Class<UJO>) - Method in class org.ujorm.orm.OrmHandler
Load a meta-data, lock it and create database tables.
loadDatabase(Class<UJO>...) - Method in class org.ujorm.orm.OrmHandler
Load a meta-data, lock it and create database tables.
loadInternal(Key, Object, boolean) - Method in class org.ujorm.orm.Session
Load UJO by a unique id.
loadLazyValues(OrmUjo) - Static method in class org.ujorm.orm.utility.OrmTools
Load all lazy values for the current parameter.
loadLazyValues(OrmUjo, int) - Static method in class org.ujorm.orm.utility.OrmTools
Load all lazy values for the current parameter recursively until optional depth.
loadLazyValues(Iterable<UJO>, int) - Static method in class org.ujorm.orm.utility.OrmTools
Load all lazy values for the current parameter recursively until optional depth.
loadLazyValuesAsBatch(Iterable<UJO>, Key<UJO, ? extends OrmUjo>) - Static method in class org.ujorm.orm.utility.OrmTools
Load lazy value for all items and required keys by the one SQL statement.
loadLazyValuesAsBatch(Query<UJO>) - Static method in class org.ujorm.orm.utility.OrmTools
Load lazy value for all items and all relation keys by the rule: a one SQL statement per relation key.
loadValues(DbProcedure) - Method in class org.ujorm.orm.JdbcStatement
Assign procedure parameters
lock() - Method in class org.ujorm.implementation.orm.OrmProperty
Lock the Property
lock() - Method in class org.ujorm.implementation.orm.OrmTableLockable
lock() - Method in class org.ujorm.orm.AbstractMetaModel
Lock the class and all other relations
LOG_METAMODEL_INFO - Static variable in class org.ujorm.orm.metaModel.MetaParams
Set a logging level for a full meta-model information in the XML format where the default parameter value is true.
LOG_SQL_MULTI_INSERT - Static variable in class org.ujorm.orm.metaModel.MetaParams
Enable the loggin for a multi-value SQL statement INSERT including its values where the default parameter value is false.
LOG_VALUE_LENGTH_LIMIT - Static variable in class org.ujorm.orm.metaModel.MetaParams
Logging JDBC arguments can be cropped using the next argument, default value 128 characters per value, the value Integer.MAX_VALUE means an unlimited.
LOGBACK_LOGGING_SUPPORT - Static variable in class org.ujorm.orm.metaModel.MetaParams
Pamameter tries to install a brighe to the Logback logging framework using a statement SLF4JBridgeHandler.install();
logValue(Ujo, Key) - Method in class org.ujorm.orm.JdbcStatement
Log a value value into a text format.
logValue(String, Key) - Method in class org.ujorm.orm.JdbcStatement
Log a value value into a text format.
LONG - Static variable in class org.ujorm.orm.TypeService
 

M

MANDATORY - Static variable in class org.ujorm.orm.metaModel.MetaColumn
Column NOT-NULL
map() - Method in class org.ujorm.orm.Query
Returns an instance of the Map where the key is DB table primary key and a value is the row.
map(Key<UJO, T>, Map<T, UJO>) - Method in class org.ujorm.orm.Query
Returns an instance of the Map where the key is DB table primary key and a value is the row.
markForRolback() - Method in class org.ujorm.orm.Session
 
MAX_ITEM_COUNT_4_IN - Static variable in class org.ujorm.orm.metaModel.MetaParams
The maximal count of items for the SQL IN operator, default value is 500 items The limit is used inside the method loadLazyValuesAsBatch(..).
MAX_LENGTH - Static variable in class org.ujorm.orm.metaModel.MetaColumn
Column value length
maxValue - Variable in class org.ujorm.orm.UjoSequencer
Total limit, zero means no restriction
META_DB_SERVICE - Static variable in class org.ujorm.orm.metaModel.MetaParams
The instance of the parameter class MetaDbService is used for creating and validaton a database according to the meta-model.
MetaColumn - Class in org.ujorm.orm.metaModel
Database column meta-data
MetaColumn() - Constructor for class org.ujorm.orm.metaModel.MetaColumn
 
MetaColumn(ITypeService) - Constructor for class org.ujorm.orm.metaModel.MetaColumn
 
MetaColumn(MetaTable, Key, MetaColumn) - Constructor for class org.ujorm.orm.metaModel.MetaColumn
 
MetaDatabase - Class in org.ujorm.orm.metaModel
A logical database description.
MetaDatabase() - Constructor for class org.ujorm.orm.metaModel.MetaDatabase
 
MetaDatabase(OrmHandler, OrmUjo, MetaDatabase, Integer) - Constructor for class org.ujorm.orm.metaModel.MetaDatabase
Create a new Database.
MetaDbService - Class in org.ujorm.orm.metaModel
A service method for the MetaDatabase class.
MetaDbService() - Constructor for class org.ujorm.orm.metaModel.MetaDbService
 
MetaDbServiceEx - Class in org.ujorm.orm.metaModel
A service method for the MetaDatabase class.
MetaDbServiceEx() - Constructor for class org.ujorm.orm.metaModel.MetaDbServiceEx
 
MetaIndex - Class in org.ujorm.orm.metaModel
DB index metamodel.
MetaIndex(String, MetaTable) - Constructor for class org.ujorm.orm.metaModel.MetaIndex
 
MetaParams - Class in org.ujorm.orm.metaModel
A logical database description.
MetaParams() - Constructor for class org.ujorm.orm.metaModel.MetaParams
 
MetaPKey - Class in org.ujorm.orm.metaModel
The table primary key.
MetaPKey(MetaTable) - Constructor for class org.ujorm.orm.metaModel.MetaPKey
 
metaProcedure - Variable in class org.ujorm.orm.DbProcedure
Meta - model
metaProcedure() - Method in class org.ujorm.orm.DbProcedure
Returns MetaModel of the procedure
MetaProcedure - Class in org.ujorm.orm.metaModel
DB procudure or function meta-model.
MetaProcedure() - Constructor for class org.ujorm.orm.metaModel.MetaProcedure
No parameter constructor.
MetaProcedure(MetaDatabase, Key, MetaProcedure) - Constructor for class org.ujorm.orm.metaModel.MetaProcedure
Create the new stored procedure meta-model.
MetaRelation2Many - Class in org.ujorm.orm.metaModel
The database/object relation to many.
MetaRelation2Many() - Constructor for class org.ujorm.orm.metaModel.MetaRelation2Many
 
MetaRelation2Many(MetaTable, Key, MetaRelation2Many) - Constructor for class org.ujorm.orm.metaModel.MetaRelation2Many
Meta-model for a relation to many
MetaRoot - Class in org.ujorm.orm.metaModel
A logical database description.
MetaRoot() - Constructor for class org.ujorm.orm.metaModel.MetaRoot
 
MetaSelect - Class in org.ujorm.orm.metaModel
Contains a SQL statement for a UJO view user SELECT.
MetaSelect(String, String) - Constructor for class org.ujorm.orm.metaModel.MetaSelect
Constructor.
MetaSelect(MetaTable) - Constructor for class org.ujorm.orm.metaModel.MetaSelect
 
MetaTable - Class in org.ujorm.orm.metaModel
DB table or view meta-model.
MetaTable() - Constructor for class org.ujorm.orm.metaModel.MetaTable
No parameter constructor.
MetaTable(MetaDatabase, RelationToMany<?, ?>, MetaTable) - Constructor for class org.ujorm.orm.metaModel.MetaTable
Create new MetaTable.
more() - Method in class org.ujorm.orm.metaModel.MetaParams
Returns an object to provide the special parameters for a different use.
MORE_PARAMS - Static variable in class org.ujorm.orm.metaModel.MetaParams
The parameter contains the special parameters with for different use.
MoreParams - Class in org.ujorm.orm.metaModel
Class contains the special parameters with for different use.
MoreParams() - Constructor for class org.ujorm.orm.metaModel.MoreParams
 
MSSqlDialect - Class in org.ujorm.orm.dialect
Dialect for the MSSQL tested on SQL Server 2008 R2 with Microsoft SQL Server JDBC Driver 3.0 from http://msdn.microsoft.com/data/jdbc
http://www.microsoft.com/sqlserver/
Note: This dialect the is an early release 1.10.beta.
MSSqlDialect() - Constructor for class org.ujorm.orm.dialect.MSSqlDialect
 
MySqlDialect - Class in org.ujorm.orm.dialect
Dialect for the MySQL since release 5.0 for the InnoDB engine.
MySqlDialect() - Constructor for class org.ujorm.orm.dialect.MySqlDialect
 

N

NAME - Static variable in class org.ujorm.orm.metaModel.MetaIndex
Index database name
NAME - Static variable in class org.ujorm.orm.metaModel.MetaProcedure
Procedure name
NAME - Static variable in class org.ujorm.orm.metaModel.MetaRelation2Many
The database column name.
NAME - Static variable in class org.ujorm.orm.metaModel.MetaTable
DB table name
NativeDbSequencer - Class in org.ujorm.orm
Support for the native database sequences.
NativeDbSequencer(MetaTable) - Constructor for class org.ujorm.orm.NativeDbSequencer
Required constructor
nestedTransaction() - Method in class org.ujorm.orm.Transaction
Create a nested transaction
newCamelFactory(Class<? extends UJO>) - Static method in class org.ujorm.implementation.orm.OrmTable
Create a factory with a cammel-case Key name generator.
newCamelFactory(Class<? extends UJO>) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Create a factory with a cammel-case Key name generator.
newClosedSession(OrmHandler) - Static method in class org.ujorm.orm.Session
Create the closed session
newFactory(Class<? extends UJO>) - Static method in class org.ujorm.implementation.orm.OrmTable
Create a base factory Key name generator where key name is the same as its field name.
newFactory(Class<? extends UJO>) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Create a base factory Key name generator where key name is the same as its field name.
newInstance(Class<VALUE>, Key<VALUE, ?>) - Static method in class org.ujorm.implementation.orm.RelationToOne
Deprecated. Use the method RelationToOne.of(java.lang.Class, org.ujorm.Key)
newInstance(OrmUjo, MetaPKey) - Static method in class org.ujorm.orm.ao.CacheKey
Constructor for the OrmUjo
newInstance(Class, Object) - Static method in class org.ujorm.orm.ao.CacheKey
Constructor for one keyk
newInstance(Class, Object...) - Static method in class org.ujorm.orm.ao.CacheKey
Constructor for many keys
newKey() - Static method in class org.ujorm.implementation.orm.OrmTable
A Property Factory creates new key and assigns a next key index.
newKey(String) - Static method in class org.ujorm.implementation.orm.OrmTable
A Property Factory creates new key and assigns a next key index.
newKey(String, VALUE) - Static method in class org.ujorm.implementation.orm.OrmTable
A Property Factory creates new key and assigns a next key index.
newKey(String, Class<VALUE>, VALUE, int, boolean) - Static method in class org.ujorm.implementation.orm.OrmTable
A Property Factory creates new key and assigns a next key index.
newKey(VALUE) - Static method in class org.ujorm.implementation.orm.OrmTable
A Property Factory creates new key and assigns a next key index.
newKey(Key) - Static method in class org.ujorm.implementation.orm.OrmTable
Returns a new instance of key where the default value is null.
newKey() - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A Property Factory creates new key and assigns a next key index.
newKey(String) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A Property Factory creates new key and assigns a next key index.
newKey(String, VALUE) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A Property Factory creates new key and assigns a next key index.
newKey(String, Class<VALUE>, VALUE, int, boolean) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A Property Factory creates new key and assigns a next key index.
newKey(VALUE) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A Property Factory creates new key and assigns a next key index.
newKey(Key) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Returns a new instance of key where the default value is null.
newKeyDefault(VALUE) - Static method in class org.ujorm.implementation.orm.OrmTable
A Property Factory creates new key and assigns a next key index.
newKeyDefault(VALUE) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A Property Factory creates new key and assigns a next key index.
newProperty(String, Class<VALUE>) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. Use rather a method QuickUjo.newProperty(java.lang.String) instead of this.
newProperty(String) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. Use the method newKey(...)
newProperty(String, VALUE) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. Use the method newKey(...)
newProperty(Class<VALUE>) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. Use rather a method QuickUjo.newProperty() instead of this,
newProperty(String, Class<VALUE>, VALUE, int, boolean) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. 
newProperty(VALUE) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. Use the method newKey(...)
newProperty(Class<VALUE>, VALUE) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. 
newProperty() - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. Use the method newKey(...)
newProperty(String, Class<VALUE>) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. Use rather a method QuickUjo.newProperty(java.lang.String) instead of this.
newProperty(String) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. Use the method newKey(...)
newProperty(String, VALUE) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. Use the method newKey(...)
newProperty(Class<VALUE>) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. Use rather a method QuickUjo.newProperty() instead of this,
newProperty(String, Class<VALUE>, VALUE, int, boolean) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. 
newProperty(VALUE) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. Use the method newKey(...)
newProperty() - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. Use the method newKey(...)
newRelation(String, Class<ITEM>) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. use the OrmTable.newRelation(java.lang.String) instead of this.
newRelation(String) - Static method in class org.ujorm.implementation.orm.OrmTable
A PropertyIterator Factory creates an new key and assign a next index.
newRelation(Class<ITEM>) - Static method in class org.ujorm.implementation.orm.OrmTable
Deprecated. use the OrmTable.newRelation() instead of this.
newRelation() - Static method in class org.ujorm.implementation.orm.OrmTable
A PropertyIterator Factory creates an new key and assign a next index.
newRelation(String, Class<ITEM>) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. use the OrmTableSynchronized.newRelation(java.lang.String) instead of this.
newRelation(String) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A PropertyIterator Factory creates an new key and assign a next index.
newRelation(Class<ITEM>) - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
Deprecated. use the OrmTableSynchronized.newRelation() instead of this.
newRelation() - Static method in class org.ujorm.implementation.orm.OrmTableSynchronized
A PropertyIterator Factory creates an new key and assign a next index.
newRelation(String, Class<ITEM>) - Static method in class org.ujorm.orm.DbProcedure
A PropertyIterator Factory creates an new key and assign a next index.
newRelation(Class<ITEM>) - Static method in class org.ujorm.orm.DbProcedure
A PropertyIterator Factory creates an new key and assign a next index.
newRelation() - Method in class org.ujorm.orm.OrmKeyFactory
A KeyIterator Factory creates an new key and assign a next index.
next() - Method in class org.ujorm.core.UjoIterator
Returns the next element if exists.
nextValue(Session) - Method in class org.ujorm.orm.NativeDbSequencer
Returns the next sequence value by a synchronized method.
nextValue(Session) - Method in class org.ujorm.orm.UjoSequencer
Returns the next sequence value by a synchronized method.
NULL - Static variable in annotation type org.ujorm.orm.annot.Comment
A String for the NULL value.
NULL - Static variable in annotation type org.ujorm.orm.annot.Procedure
A String for the NULL value.
NULL - Static variable in annotation type org.ujorm.orm.annot.Table
A String for the NULL value.
nullValues - Variable in class org.ujorm.orm.CriterionDecoder
 

O

of(Iterator<T>) - Static method in class org.ujorm.core.UjoIterator
Create an instance
of(Collection<T>) - Static method in class org.ujorm.core.UjoIterator
Create an instance
of(Query<T>) - Static method in class org.ujorm.core.UjoIterator
Create an instance
of(U) - Method in class org.ujorm.implementation.orm.OrmProperty
An alias for the method of(Ujo) with a lazy-loading features.
Note: if no session is available than lazy attributes provides the null value - since the release 1.33.
of(UJO) - Method in class org.ujorm.implementation.orm.RelationToMany
An alias for the method of(Ujo).
of(Class<VALUE>, Key<VALUE, ?>) - Static method in class org.ujorm.implementation.orm.RelationToOne
A Property Factory
of(Class<UJO>, String, OrmHandler) - Static method in class org.ujorm.orm.template.AliasTable
Create new Alias with required name
of(Class<UJO>, OrmHandler) - Static method in class org.ujorm.orm.template.AliasTable
Create new Alias with default name
OFFSET - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 
OracleDialect - Class in org.ujorm.orm.dialect
Oracle (www.oracle.com/) release 9.0
OracleDialect() - Constructor for class org.ujorm.orm.dialect.OracleDialect
 
ORDER - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
Database order number
ORDER - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 
orderBy - Variable in class org.ujorm.orm.CriterionDecoder
 
orderBy(Key<UJO, ?>) - Method in class org.ujorm.orm.Query
Set an order of the rows by a SQL ORDER BY phrase.
orderBy(Key<UJO, ?>, Key<UJO, ?>) - Method in class org.ujorm.orm.Query
Set an order of the rows by a SQL ORDER BY phrase.
orderBy(Key<UJO, ?>, Key<UJO, ?>, Key<UJO, ?>) - Method in class org.ujorm.orm.Query
Set an order of the rows by a SQL ORDER BY phrase.
orderBy(Collection<Key>) - Method in class org.ujorm.orm.Query
Set an order of the rows by a SQL ORDER BY phrase.
orderByMany(Key...) - Method in class org.ujorm.orm.Query
Set an order of the rows by a SQL ORDER BY phrase.
org.ujorm - package org.ujorm
 
org.ujorm.core - package org.ujorm.core
 
org.ujorm.implementation.orm - package org.ujorm.implementation.orm
 
org.ujorm.orm - package org.ujorm.orm
The ORM support.
org.ujorm.orm.annot - package org.ujorm.orm.annot
 
org.ujorm.orm.ao - package org.ujorm.orm.ao
 
org.ujorm.orm.dialect - package org.ujorm.orm.dialect
 
org.ujorm.orm.impl - package org.ujorm.orm.impl
 
org.ujorm.orm.metaModel - package org.ujorm.orm.metaModel
 
org.ujorm.orm.template - package org.ujorm.orm.template
 
org.ujorm.orm.utility - package org.ujorm.orm.utility
 
Orm2ddlPolicy - Enum in org.ujorm.orm.ao
Values list to control how the DLL (Data Definition Language) statements will be used to a defining data structure modification.
ORM2DLL_POLICY - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
A policy to defining the database structure by a DDL.
ORM2DLL_POLICY - Static variable in class org.ujorm.orm.metaModel.MetaParams
A policy to defining the database structure by a DDL.
ORM2DLL_POLICY - Static variable in class org.ujorm.orm.metaModel.MetaTable
A policy to defining the database structure by a DDL.
OrmHandler - Class in org.ujorm.orm
The basic class for an ORM support.
OrmHandler() - Constructor for class org.ujorm.orm.OrmHandler
The constructor
OrmHandler(Class<UJO>) - Constructor for class org.ujorm.orm.OrmHandler
The constructor with a database metamodel initialization.
OrmHandler(Class<UJO>...) - Constructor for class org.ujorm.orm.OrmHandler
The constructor with a database metamodel initialization.
ormHandler - Variable in class org.ujorm.orm.SqlDialect
The ORM handler
OrmHandlerProvider - Interface in org.ujorm.orm
OrmHandler Provider
OrmKeyFactory<UJO extends OrmUjo> - Class in org.ujorm.orm
OrmFactory
OrmKeyFactory(Class<? extends UJO>, boolean, KeyList<?>) - Constructor for class org.ujorm.orm.OrmKeyFactory
 
OrmKeyFactory(Class<? extends UJO>, boolean) - Constructor for class org.ujorm.orm.OrmKeyFactory
 
OrmKeyFactory(Class<? extends UJO>) - Constructor for class org.ujorm.orm.OrmKeyFactory
 
OrmProperty<U extends OrmUjo,VALUE> - Class in org.ujorm.implementation.orm
The special Key pro LazyLoadiing
OrmProperty(int) - Constructor for class org.ujorm.implementation.orm.OrmProperty
 
OrmProperty(int, String, VALUE, Validator<VALUE>) - Constructor for class org.ujorm.implementation.orm.OrmProperty
 
OrmTable<U extends OrmTable> - Class in org.ujorm.implementation.orm
This abstract implementation of the OrmUjo interface is situable for implementation the persistent entities.
OrmTable() - Constructor for class org.ujorm.implementation.orm.OrmTable
 
OrmTableLockable<U extends OrmTableLockable> - Class in org.ujorm.implementation.orm
An abstract implementation of the OrmUjo with an object locking support.
OrmTableLockable() - Constructor for class org.ujorm.implementation.orm.OrmTableLockable
 
OrmTableSynchronized<UJO_IMPL extends Ujo> - Class in org.ujorm.implementation.orm
It is an thread safe implementation of the OrmUjo for the multi-thread use.
OrmTableSynchronized() - Constructor for class org.ujorm.implementation.orm.OrmTableSynchronized
 
OrmTools - Class in org.ujorm.orm.utility
Many useful methods for BLOB/CLOB lazy loading reloading
OrmTools() - Constructor for class org.ujorm.orm.utility.OrmTools
 
OrmUjo - Interface in org.ujorm.orm
The OrmUjo is a basic interface of the persistent object in the ORM support.

P

Parameter - Annotation Type in org.ujorm.orm.annot
A parameter annotation of the stored procedure.
PARAMETERS - Static variable in class org.ujorm.orm.metaModel.MetaProcedure
Procedure parameters
PARAMETERS - Static variable in class org.ujorm.orm.metaModel.MetaRoot
ORM parameters
PASSWORD - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
DB password of the user
PK - Static variable in class org.ujorm.orm.metaModel.MetaTable
Unique Primary Key
PKEY_DEF_COLUMN_NAME - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
PKEY_DEF_NAME - Static variable in class org.ujorm.orm.metaModel.MetaDbServiceEx
 
PostgreSqlDialect - Class in org.ujorm.orm.dialect
PostgreSQL (http://www.postgresql.org/)
PostgreSqlDialect() - Constructor for class org.ujorm.orm.dialect.PostgreSqlDialect
 
PRECISION - Static variable in class org.ujorm.orm.metaModel.MetaColumn
Column value precision
PRIMARY_KEY - Static variable in class org.ujorm.orm.metaModel.MetaColumn
DB primary key
print(Writer) - Method in class org.ujorm.orm.metaModel.MetaRoot
Pring all model in a XML format
print(File) - Method in class org.ujorm.orm.metaModel.MetaRoot
Pring all model in a XML format
PRINT_All_JOINED_TABLES - Static variable in class org.ujorm.orm.metaModel.MoreParams
EFFECTIVA REQUEST: to enforce printing all Ujorm joined tables
printAllJoinedTables - Variable in class org.ujorm.orm.CriterionDecoder
EFFECTIVA REQUEST: to enforce printing all Ujorm joined tables
printAlterTableAddColumn(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.FirebirdDialect
Print a SQL sript to add a new column to the table
The DDL statement does not contains a word COLUMN.
printAlterTableAddColumn(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print a SQL sript to add a new column to the table
printAlterTableAddColumn(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
Print a SQL sript to add a new column to the table
Sample: ALTER TABLE sa_myphone.ord_order ADD (NEW_COLUMN INT DEFAULT 777 NOT NULL);
printAlterTableAddColumn(MetaColumn, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL script to add a new column to the table
printAlterTableColumn(MetaColumn, boolean, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL script to add a new column to the table
printCall(MetaProcedure, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print the call of a stored procedure by template:
{? = call procedure_when(?,?)}
printColumn(MetaColumn, CharSequence, StringBuilder) - Method in class org.ujorm.orm.template.AliasTable
Returns one column including an default special alias after the 'AS' phrase.
printColumnAlias(ColumnWrapper, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a full SQL column alias name by sample: "TABLE_ALIAS"."ORIG_COLUMN"
printColumnDeclaration(MetaColumn, String, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printColumnDeclaration(MetaColumn, String, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL to create column
printColumnDeclaration_2(MetaColumn, String, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
Print a SQL to create column
printColumnOrderAlias(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print a full SQL column alias name by sample: o__ - used for as order alias
printColumnUnderAlias(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print a full SQL column alias name by sample: _
printComment(MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.DerbyDialect
COMMENT is not supported in HSQLDB database
printComment(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.DerbyDialect
COMMENT is not supported in HSQLDB database
printComment(MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.HsqldbDialect
COMMENT is not supported in HSQLDB database
printComment(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.HsqldbDialect
COMMENT is not supported in HSQLDB database
printComment(MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print a Comment on the table
printComment(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Important note for MySQL: the change of column modifies all another column attributes so the comment update can revert some hand-made changes different from meta-model.
See the official MySQL documentation for more information.
printComment(MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Print a Comment on the table
printComment(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Important note for MySQL: the change of column modifies all another column attributes so the comment update can revert some hand-made changes different from meta-model.
See the official MySQL documentation for more information.
printComment(MetaTable, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a Comment to a database Table
printComment(MetaColumn, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a Comment to a database Column
printCommit(Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL 'COMMIT'
printConstraintName(MetaTable, MetaColumn, Appendable) - Method in class org.ujorm.orm.SqlNameProvider
Print a constraint name
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.dialect.DerbyDialect
Print SQL 'CREATE SCHEMA'
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.dialect.FirebirdDialect
NO SCHEMA
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.dialect.HsqldbDialect
Print SQL 'CREATE SCHEMA'
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
Print no schema
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
Print SQL 'CREATE SCHEMA'
printCreateSchema(String, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL 'CREATE SCHEMA'
printCriterion(ValueCriterion, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a condition phrase from the criterion.
printCriterionValue(String, ColumnWrapper, ValueCriterion, Appendable) - Method in class org.ujorm.orm.SqlDialect
Write a right value form criterion
printDefaultConstraint(MetaColumn, StringBuilder) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printDefaultConstraint(MetaColumn, StringBuilder) - Method in class org.ujorm.orm.SqlDialect
Print Default Constraint
printDefaultSchema(String, Appendable) - Method in class org.ujorm.orm.SqlDialect
Deprecated. 
printDefaultValue(MetaColumn, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print a SQL phrase for the DEFAULT VALUE, for example: DEFAULT 777
printDefaultValue(MetaColumn, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL phrase for the DEFAULT VALUE, for example: DEFAULT 777
printDelete(CriterionDecoder, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print an SQL DELETE statement.
printDelete(CriterionDecoder, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Print an SQL DELETE statement.
printDelete(CriterionDecoder, Appendable) - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
Print an SQL DELETE statement.
printDelete(CriterionDecoder, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an SQL DELETE statement.
printDropIndex(MetaIndex, Appendable) - Method in class org.ujorm.orm.SqlDialectEx
Print an DROP INDEX for the parameter column.
printFKColumnsDeclaration(MetaColumn, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL to create foreign keys.
printForeignColumnFullName(int, Appendable) - Method in class org.ujorm.orm.metaModel.MetaColumn
Print a full 'alias' name of foreign column by index
printForeignKey(MetaColumn, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print foreign key for the parameter column
printForeignKey(ValueCriterion, ColumnWrapper, String, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print all items of the foreign key
printFullTableName(MetaTable, boolean, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print a extended SQL table name by sample: SCHEMA.TABLE
printFullTableName(MetaTable, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a full SQL table name by sample: SCHEMA.TABLE
printFullTableName(MetaTable, boolean, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a extended SQL table name by sample: SCHEMA.TABLE
printIndex(MetaIndex, Appendable) - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
Print an INDEX for the parameter column.
printIndex(MetaIndex, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an INDEX for the parameter column.
printIndexCondition(MetaIndex, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
No PARTIAL INDEX is supported.
printIndexCondition(MetaIndex, Appendable) - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
Create an PARTIAL INDEX for exclude NULL values.
printInsert(List<? extends OrmUjo>, int, int, Appendable) - Method in class org.ujorm.orm.dialect.FirebirdDialect
Implementation is not working
printInsert(List<? extends OrmUjo>, int, int, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printInsert(List<? extends OrmUjo>, int, int, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
 
printInsert(OrmUjo, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an SQL INSERT statement.
printInsert(List<? extends OrmUjo>, int, int, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an SQL INSERT statement.
printInsertBySelect(List<? extends OrmUjo>, int, int, String, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an batch SQL INSERT statement using SELECT UNION statement.
println(Appendable) - Method in class org.ujorm.orm.SqlDialect
Print the new line.
printLockForSelect(Query, Appendable) - Method in class org.ujorm.orm.dialect.FirebirdDialect
Print a 'lock clausule' to the end of SQL SELECT statement to use a pessimistic lock.
printLockForSelect(Query, Appendable) - Method in class org.ujorm.orm.dialect.HsqldbDialect
Including 1.7.2, HSQLDB does not support table locking via SELECT FOR UPDATE.
For more information see http://hsqldb.org.
printLockForSelect(Query, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a 'lock clausule' to the end of SQL SELECT statement to use a pessimistic lock.
printNextSequence(String, MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.HsqldbDialect
Create a SQL script for the NEXT SEQUENCE from a native database sequencer
printNextSequence(String, MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Create a SQL script for the NEXT SEQUENCE from a native database sequencer
TIP: SELECT AUTO_INCREMENT FROM information_schema.TABLES WHERE TABLE_SCHEMA = $dbName AND TABLE_NAME = $tblName.
printNextSequence(String, MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
Create a SQL script for the NEXT SEQUENCE from a native database sequencer
printNextSequence(String, MetaTable, Appendable) - Method in class org.ujorm.orm.SqlDialect
Create a SQL script for the NEXT SEQUENCE from a native database sequencer
printOffset(Query, Appendable) - Method in class org.ujorm.orm.dialect.DerbyDialect
 
printOffset(Query, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
 
printOffset(Query, Appendable) - Method in class org.ujorm.orm.dialect.PostgreSqlDialect
Print an OFFSET of the statement SELECT.
printOffset(Query, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an OFFSET of the statement SELECT.
printOrderColumns(Query, Appendable, boolean, boolean, boolean) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printPrimaryKey(MetaColumn, StringBuilder) - Method in class org.ujorm.orm.SqlDialectEx
 
printPrimaryKeyConstraint(MetaTable, List<MetaColumn>, Appendable) - Method in class org.ujorm.orm.SqlDialectEx
Prints primary key constraint
printQuotedName(CharSequence, Appendable) - Method in class org.ujorm.orm.SqlDialect
Prints quoted name (identifier) to SQL according the parameter MetaParams.QUOTE_SQL_NAMES.
printQuotedNameAlways(CharSequence, Appendable) - Method in class org.ujorm.orm.dialect.FirebirdDialect
This method does not quote due some errors.
printQuotedNameAlways(CharSequence, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Prints quoted name (identifier) to SQL always.
printQuotedNameAlways(CharSequence, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Prints quoted name (identifier) to SQL always.
printQuotedNameAlways(CharSequence, Appendable) - Method in class org.ujorm.orm.SqlDialect
Prints quoted name (identifier) to SQL always.
printSelect(TableWrapper, Query, boolean, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL SELECT by table model and query
printSelectOrder(Query, Appendable, boolean) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print SQL ORDER BY
printSelectOrder(Query, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL ORDER BY
printSelectTable(Query, boolean, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Custom implementation of MS-SQL dialect due to different offset and limit usage
printSelectTable(Query, boolean, Appendable) - Method in class org.ujorm.orm.dialect.OracleDialect
Print SQL database SELECT
printSelectTable(Query, boolean, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL database SELECT
printSelectTableBase(Query, boolean, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL database SELECT
printSelectView(TableWrapper, Query, boolean, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL view SELECT
printSequenceCurrentValue(UjoSequencer, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL CURRENT SEQUENCE VALUE.
printSequenceDeleteById(UjoSequencer, String, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL DELETE SEQUENCE BY ID.
printSequenceInit(UjoSequencer, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL CREATE SEQUENCE (insert sequence row).
printSequenceInitWithValues(UjoSequencer, long, int, Appendable) - Method in class org.ujorm.orm.SqlDialect
 
printSequenceListAllId(UjoSequencer, Appendable) - Method in class org.ujorm.orm.SqlDialectEx
Print SQL LIST ALL SEQUENCE IDs.
printSequenceNextValue(UjoSequencer, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL UPDATE NEXT SEQUENCE value.
printSequenceNextValueWithValues(UjoSequencer, long, Appendable) - Method in class org.ujorm.orm.SqlDialectEx
Print the next Sequence value
printSequenceTable(MetaDatabase, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print SQL CREATE SEQUENCE.
printSequenceTable(MetaDatabase, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
 
printSequenceTable(MetaDatabase, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print SQL CREATE SEQUENCE.
printSequenceTableName(UjoSequencer, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printSequenceTableName(UjoSequencer, Appendable) - Method in class org.ujorm.orm.SqlDialect
Prinnt the full sequence table
printSetMaxSequence(UjoSequencer, Appendable) - Method in class org.ujorm.orm.SqlDialect
Set sequence to the max value.
printTable(MetaTable, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
 
printTable(MetaTable, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL script to create table
printTableAliasDefinition(CriterionDecoder, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print table alias definition
printTableAliasDefinition(TableWrapper, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print a SQL database and table name and an alias definition - by sample: SCHEMA.TABLE ALIAS
printTableColumns(Collection<? extends ColumnWrapper>, Appendable, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print table columns
printTableColumnsUnderAliases(Collection<ColumnWrapper>, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
prints columns in _ separated by comma
printTableColumnsWithUnderAliases(Collection<ColumnWrapper>, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
prints columns in ". AS _" format separated by comma
printTablesWithAlias(Collection<MetaTable>, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
 
printUniqueConstraint(List<MetaColumn>, StringBuilder) - Method in class org.ujorm.orm.SqlDialectEx
Print Unique Constraint
printUniqueConstraint(StringBuilder, MetaColumn...) - Method in class org.ujorm.orm.SqlDialectEx
printUniqueConstraint
printUpdate(List<MetaColumn>, CriterionDecoder, Appendable) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Print an SQL UPDATE statement.
printUpdate(List<MetaColumn>, CriterionDecoder, Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
 
printUpdate(List<MetaColumn>, CriterionDecoder, Appendable) - Method in class org.ujorm.orm.SqlDialect
Print an SQL UPDATE statement.
printWhere(CriterionDecoder, TableWrapper[], Appendable) - Method in class org.ujorm.orm.dialect.MySqlDialect
Print where condition for DELETE / UPDATE TODO: FIX THE IMPLEMENTATION - probably in the CriterionDecoder class
Procedure - Annotation Type in org.ujorm.orm.annot
Use the annotation to mark a Key static field like XML Attribute.
PROCEDURES - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
List of procedures

Q

Query<UJO extends OrmUjo> - Class in org.ujorm.orm
ORM query.
Query(MetaTable, Criterion<UJO>, Session) - Constructor for class org.ujorm.orm.Query
Create new ORM query.
Query(MetaTable, Criterion<UJO>) - Constructor for class org.ujorm.orm.Query
Create new ORM query without a session.

R

READ_ONLY - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
The default state read-only for the database.
READ_ONLY - Static variable in class org.ujorm.orm.metaModel.MetaTable
The state read-only for the database.
readAuthorization(UjoAction, Key, Object) - Method in class org.ujorm.implementation.orm.OrmTable
Test an authorization of the action.
readAuthorization(UjoAction, Key, Object) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Test an authorization of the action.
readAuthorization(UjoAction, Key, Object) - Method in class org.ujorm.orm.AbstractMetaModel
 
readAuthorization(UjoAction, Key, Object) - Method in class org.ujorm.orm.metaModel.MetaDatabase
The PASSWORD key is not exported to XML for a better security.
readChangedProperties(boolean) - Method in class org.ujorm.implementation.orm.OrmTable
Returns keys of changed values in a time when any session is assigned.
readChangedProperties(boolean) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Returns keys of changed values in a time when any session is assigned.
readChangedProperties(boolean) - Method in interface org.ujorm.orm.OrmUjo
Returns keys of changed values in a time when any session is assigned.
readFK(Key<UJO, ? extends OrmUjo>) - Method in class org.ujorm.implementation.orm.OrmTable
Read the foreign key.
readFK(Key<UJO, ? extends OrmUjo>) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Read the foreign key.
readFK(Key<UJO, ? extends OrmUjo>) - Method in interface org.ujorm.orm.ExtendedOrmUjo
Read the foreign key.
readFK(OrmUjo, Key<?, ? extends OrmUjo>) - Method in class org.ujorm.orm.Session
Build new Forign key.
readOnly() - Method in class org.ujorm.implementation.orm.OrmTableLockable
readOnly() - Method in class org.ujorm.orm.AbstractMetaModel
Property values are locked to read-only.
readOrderColumn(int) - Method in class org.ujorm.orm.Query
Returns an order column.
readSession() - Method in class org.ujorm.implementation.orm.OrmTable
Read a session
readSession() - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Read a session
readSession() - Method in interface org.ujorm.orm.OrmUjo
Read an ORM session where the session is an transient key.
readValue(Key) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
A method for an internal use only.
registerSynchronization(Synchronization) - Method in class org.ujorm.orm.Transaction
RELATIONS - Static variable in class org.ujorm.orm.metaModel.MetaTable
Table relations to many
RelationToMany<UJO extends ExtendedOrmUjo,ITEM extends ExtendedOrmUjo> - Class in org.ujorm.implementation.orm
The relation 1:N to another UJO type items
RelationToMany(String) - Constructor for class org.ujorm.implementation.orm.RelationToMany
Constructor
RelationToMany(String, Class<ITEM>) - Constructor for class org.ujorm.implementation.orm.RelationToMany
Constructor
RelationToMany(String, Class<ITEM>, int, boolean) - Constructor for class org.ujorm.implementation.orm.RelationToMany
Constructor
RelationToOne<UJO extends ExtendedOrmUjo,VALUE> - Class in org.ujorm.implementation.orm
Foreign key key
RelationToOne(String, Class, Key) - Constructor for class org.ujorm.implementation.orm.RelationToOne
 
releaseSavepoint(Connection, Savepoint, boolean) - Method in class org.ujorm.orm.dialect.MSSqlDialect
Perform the method: {@link Connection#releaseSavepoint(java.sql.Savepoint) ?
releaseSavepoint(Connection, Savepoint, boolean) - Method in class org.ujorm.orm.SqlDialect
Perform the method: {@link Connection#releaseSavepoint(java.sql.Savepoint) ?
reload(OrmUjo) - Method in class org.ujorm.orm.Session
Reload values of the persistent object.
reload(OrmUjo, Session) - Method in class org.ujorm.orm.utility.OrmTools
Reload values of the persistent object.
remove() - Method in class org.ujorm.core.UjoIterator
Deprecated. The method is not implemented.
removeDb(String) - Method in class org.ujorm.orm.metaModel.MetaRoot
Returns the first database with the same schemaName - and remove it from the list.
reset() - Method in class org.ujorm.orm.UjoSequencer
Forces to reload sequence from db on next call for nextValue.
rollback() - Method in class org.ujorm.orm.Session
Make a rollback for all databases.
rollback() - Method in class org.ujorm.orm.Transaction
Rollback the current level of the beginTransaction.
rollbackTransaction() - Method in class org.ujorm.orm.Session
Make a rollback on all databases for the current transaction level.
ROOT - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
An instance of the DB class.
run(Session) - Method in interface org.ujorm.orm.InitializationBatch
Inicializaton batch implementation can be called after building a meta-model.

S

save(List<? extends OrmUjo>) - Method in class org.ujorm.orm.Session
INSERT object into table using the Multirow inserts.
save(List<? extends OrmUjo>, int) - Method in class org.ujorm.orm.Session
INSERT object into table using the Multirow inserts.
save(OrmUjo) - Method in class org.ujorm.orm.Session
INSERT object into table.
SAVE_CONFIG_TO_FILE - Static variable in class org.ujorm.orm.metaModel.MetaParams
Framework can save the final configuration file to a new file for an external use.
saveOrUpdate(OrmUjo) - Method in class org.ujorm.orm.Session
Make a statement INSERT or UPDATE into a database table according to attribute Session.
SCHEMA - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
MetaDatabase default schema
SCHEMA - Static variable in class org.ujorm.orm.metaModel.MetaProcedure
Name of table schema.
SCHEMA - Static variable in class org.ujorm.orm.metaModel.MetaSelect
Schema variable is replaced for a real schema name.
SCHEMA - Static variable in class org.ujorm.orm.metaModel.MetaTable
Name of table schema.
SELECT - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 
SELECT - Static variable in class org.ujorm.orm.metaModel.MetaTable
SQL SELECT statement
SELECT(Object...) - Static method in class org.ujorm.orm.template.AliasTable.Build
Build SQL SELECT statement
SELECT_MODEL - Static variable in class org.ujorm.orm.metaModel.MetaTable
SQL SELECT model.
SEQ_LIMIT - Static variable in class org.ujorm.orm.UjoSequencer
DB field: seqLimit
SEQ_MAX_VALUE - Static variable in class org.ujorm.orm.UjoSequencer
DB field: maxValue
SEQ_STEP - Static variable in class org.ujorm.orm.UjoSequencer
DB field: step
seqLimit - Variable in class org.ujorm.orm.UjoSequencer
Buffer limit
SeqTableModel - Class in org.ujorm.orm
Class to describe a sequence table model for an internal sequence database support
SeqTableModel() - Constructor for class org.ujorm.orm.SeqTableModel
Default Constructor
SeqTableModel(String, String, String, String, String) - Constructor for class org.ujorm.orm.SeqTableModel
 
SEQUENCE - Static variable in class org.ujorm.orm.metaModel.MetaTable
Name of DB sequence.
sequence - Variable in class org.ujorm.orm.UjoSequencer
Current sequence value
SEQUENCE_CACHE - Static variable in class org.ujorm.orm.metaModel.MetaParams
Sequential cache parameter saves the number of requests to the following sequence when a insert statement into DB.
SEQUENCE_SCHEMA_SYMBOL - Static variable in class org.ujorm.orm.metaModel.MetaParams
The parameter value TRUE affects to a Sequence key name in the internal sequence generator.
SEQUENCER - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
The sequencer class for tables of the current database.
Session - Class in org.ujorm.orm
The ORM session.
set(Key<UJO, VALUE>, VALUE) - Method in class org.ujorm.implementation.orm.OrmTable
Setter based on Key.
set(Key<UJO, VALUE>, VALUE) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Setter based on Key.
set(Key<UJO, VALUE>, VALUE) - Method in class org.ujorm.orm.metaModel.MetaParams
Set a parameter value
set(Key<MetaParams, Class<? extends InitializationBatch>>, InitializationBatch) - Method in class org.ujorm.orm.metaModel.MetaParams
Assign an initialization batch
setApplContext(Object) - Method in class org.ujorm.orm.metaModel.MetaParams
Set application context.
setArray(int, Array) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setAsciiStream(int, InputStream, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setAsciiStream(int, InputStream, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setAsciiStream(int, InputStream) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBigDecimal(int, BigDecimal) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBinaryStream(int, InputStream, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBinaryStream(int, InputStream, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBinaryStream(int, InputStream) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBlob(int, Blob) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBlob(int, InputStream, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBlob(int, InputStream) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBoolean(int, boolean) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setByte(int, byte) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setBytes(int, byte[]) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setCharacterStream(int, Reader, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setCharacterStream(int, Reader, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setCharacterStream(int, Reader) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setClob(int, Clob) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setClob(int, Reader, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setClob(int, Reader) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setColumn(Key<UJO, ?>) - Method in class org.ujorm.orm.Query
Set the one column to reading from database table.
setColumns(boolean, Key...) - Method in class org.ujorm.orm.Query
Set an list of required columns to reading from database table.
setColumns(Collection<ColumnWrapper>) - Method in class org.ujorm.orm.Query
Set an list of required columns to reading from database table.
setColumns(boolean, boolean, Key...) - Method in class org.ujorm.orm.Query
Set an list of required columns to reading from database table.
setCriterion(Criterion<UJO>) - Method in class org.ujorm.orm.Query
Set a new Criterion.
setCursorName(String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setDate(int, Date) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setDate(int, Date, Calendar) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setDistinct(boolean) - Method in class org.ujorm.orm.Query
Select DISTINCT for a unique row result
setDistinct() - Method in class org.ujorm.orm.Query
Select DISTINCT for a unique row result
setDouble(int, double) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setEscapeProcessing(boolean) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setFetchDirection(int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setFetchSize(int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setFetchSize(int) - Method in class org.ujorm.orm.Query
Retrieves the number of result set rows that is the default fetch size for ResultSet objects generated from this Statement object.
setFloat(int, float) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setHandler(OrmHandler) - Method in class org.ujorm.orm.SqlDialect
Set the OrmHandler - the method is for internal call only.
setInt(int, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setLazyLoading(LazyLoading) - Method in class org.ujorm.orm.Session
Enable a lazy-loading of related Ujo object.
setLimit(int) - Method in class org.ujorm.orm.Query
The max row count for the resultset.
setLimit(int, long) - Method in class org.ujorm.orm.Query
Set a limit and offset.
setLockRequest(boolean) - Method in class org.ujorm.orm.Query
Pessimistic lock request.
setLockRequest() - Method in class org.ujorm.orm.Query
Set pessimistic lock request.
setLong(int, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setMaxFieldSize(int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setMaxRows(int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setMaxRows(int) - Method in class org.ujorm.orm.Query
Deprecated. 
setNCharacterStream(int, Reader, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNCharacterStream(int, Reader) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNClob(int, NClob) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNClob(int, Reader, long) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNClob(int, Reader) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNotPersistent() - Method in class org.ujorm.orm.metaModel.MetaTable
Database model is not persistent.
setNString(int, String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNull(int, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setNull(int, int, String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setObject(int, Object, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setObject(int, Object) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setObject(int, Object, int, int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setOffset(int) - Method in class org.ujorm.orm.Query
Get the first row to retrieve (offset).
setOrder(Key...) - Method in class org.ujorm.orm.Query
Deprecated. Use the Query.orderByMany(org.ujorm.Key[]) method instead of
setParameter(Key<UJO, ITEM>, ITEM) - Method in class org.ujorm.orm.Query
 
setParameters(Object...) - Method in class org.ujorm.orm.SqlParameters
SqlParametsrs
setPoolable(boolean) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setQueryTimeout(int) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setQuotedSqlNames(boolean) - Method in class org.ujorm.orm.metaModel.MetaParams
Skip the check test and Quote all SQL columns, tables and alias names.
setReadOnly(boolean) - Method in class org.ujorm.orm.AbstractMetaModel
Set a read-only state.
setRef(int, Ref) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setRollbackOnly() - Method in class org.ujorm.orm.Transaction
Rollback transaction only, default value is false
setRowId(int, RowId) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setSession(Session) - Method in class org.ujorm.orm.Query
An open session must be assigned before executing a database request.
setShort(int, short) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setSqlParameters(SqlParameters) - Method in class org.ujorm.orm.Query
Set a SQL parameters of the Native View
setSqlParameters(Object...) - Method in class org.ujorm.orm.Query
Set a SQL parameters of the Native View
setSqlStatement(String) - Method in class org.ujorm.orm.SqlParameters
SQL Statement, the NULL value means an undefined statement
setSQLXML(int, SQLXML) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setString(int, String) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setTime(int, Time) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setTime(int, Time, Calendar) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setTimestamp(int, Timestamp) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setTimestamp(int, Timestamp, Calendar) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setUnicodeStream(int, InputStream, int) - Method in exception org.ujorm.orm.ao.UjoStatement
Deprecated. 
setURL(int, URL) - Method in exception org.ujorm.orm.ao.UjoStatement
 
setValue(MetaColumn, PreparedStatement, J, int) - Method in interface org.ujorm.orm.ITypeService
GetValue from the result set by position.
setValue(Ujo, Object) - Method in class org.ujorm.orm.metaModel.MetaColumn
Returns a key value from a table
setValue(MetaColumn, PreparedStatement, Object, int) - Method in class org.ujorm.orm.TypeService
GetValue from the result set by position.
SHORT - Static variable in class org.ujorm.orm.TypeService
 
size() - Method in class org.ujorm.orm.ao.CacheKey
Count of PKs
skip(int) - Method in class org.ujorm.core.UjoIterator
Skip some items by the parameter.
Sortable - Annotation Type in org.ujorm.orm.annot
An annotation for common use.
sql - Variable in class org.ujorm.orm.CriterionDecoder
 
sql - Variable in class org.ujorm.orm.metaModel.MetaDbService
SQL Buffer
SQL_ILLEGAL - Static variable in class org.ujorm.orm.Session
Exception SQL message prefix
SQL_NAME_PROVIDER - Static variable in class org.ujorm.orm.metaModel.MetaParams
Default SQL name provider for special names of database is called: SqlNameProvider
SqlDialect - Class in org.ujorm.orm
SQL dialect abstract class.
SqlDialect() - Constructor for class org.ujorm.orm.SqlDialect
 
SqlDialectEx - Class in org.ujorm.orm
Extended SQL dialect class.
SqlDialectEx(SqlDialect) - Constructor for class org.ujorm.orm.SqlDialectEx
Constructor
SqlNameProvider - Class in org.ujorm.orm
SQL name provider
SqlNameProvider() - Constructor for class org.ujorm.orm.SqlNameProvider
 
SqlParameters - Class in org.ujorm.orm
The class for a special User parameters in the Native Query.
SqlParameters(Object...) - Constructor for class org.ujorm.orm.SqlParameters
SQL Parameter values
stat - Variable in class org.ujorm.orm.metaModel.MetaDbService
DB Statement for common use
STRING - Static variable in class org.ujorm.orm.TypeService
 
STRING_WRAP - Static variable in class org.ujorm.orm.TypeService
 

T

Table - Annotation Type in org.ujorm.orm.annot
Use the annotation to mark a Key static field like XML Attribute.
TABLE - Static variable in class org.ujorm.orm.metaModel.MetaIndex
Table
TABLE - Static variable in class org.ujorm.orm.metaModel.MetaPKey
DB table
TABLE - Static variable in class org.ujorm.orm.metaModel.MetaRelation2Many
DB table
table() - Method in class org.ujorm.orm.template.AliasTable
Returns Table witn Alias
table - Variable in class org.ujorm.orm.UjoSequencer
Basic table.
TABLE_ALIAS_PREFIX - Static variable in class org.ujorm.orm.metaModel.MetaParams
Special prameter for an automatically assembled table alias prefix.
TABLE_ALIAS_SUFFIX - Static variable in class org.ujorm.orm.metaModel.MetaParams
Special prameter for an automatically assembled table alias prefix.
TABLE_KEY - Static variable in class org.ujorm.orm.metaModel.MetaRelation2Many
The direct table key
tableOf(Class<UJO>, String) - Method in class org.ujorm.orm.OrmHandler
Create a new instance of the class AliasTable
tableOf(Class<UJO>) - Method in class org.ujorm.orm.OrmHandler
Create a new instance of the class AliasTable
tables - Variable in class org.ujorm.orm.CriterionDecoder
 
TABLES - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
List of tables
TableWrapper - Interface in org.ujorm.orm
Wrapper for a MetaTable
TableWrapperImpl - Class in org.ujorm.orm.impl
Wrapper for a MetaTable
TableWrapperImpl(MetaTable, String) - Constructor for class org.ujorm.orm.impl.TableWrapperImpl
 
TIME_SQL - Static variable in class org.ujorm.orm.TypeService
 
TIMESTAMP - Static variable in class org.ujorm.orm.TypeService
 
toList() - Method in class org.ujorm.core.UjoIterator
Copy items to a new List
toString() - Method in class org.ujorm.core.UjoIterator
Returns a count of items.
toString() - Method in class org.ujorm.orm.AliasKey
 
toString() - Method in class org.ujorm.orm.CriterionDecoder
Returns the criterion
toString() - Method in class org.ujorm.orm.ForeignKey
Returns a String of the value only
toString() - Method in class org.ujorm.orm.impl.ColumnWrapperImpl
Returns the Key
toString() - Method in class org.ujorm.orm.JdbcStatement
 
toString() - Method in class org.ujorm.orm.metaModel.MetaDatabase
 
toString() - Method in class org.ujorm.orm.metaModel.MetaIndex
Show an index name + table
toString() - Method in class org.ujorm.orm.metaModel.MetaPKey
 
toString() - Method in class org.ujorm.orm.metaModel.MetaProcedure
 
toString() - Method in class org.ujorm.orm.metaModel.MetaRelation2Many
Key name
toString() - Method in class org.ujorm.orm.metaModel.MetaRoot
Returns all model in a XML format
toString() - Method in class org.ujorm.orm.metaModel.MetaSelect
Returns a select.
toString() - Method in class org.ujorm.orm.Query
 
toString() - Method in class org.ujorm.orm.SqlParameters
Show all parameters.
toString() - Method in class org.ujorm.orm.template.AliasTable
Return the same result as AliasTable.table
toText(String, Object...) - Static method in class org.ujorm.orm.template.AliasTable.Build
Build any text with the required separator
Transaction - Class in org.ujorm.orm
Transaction manager.
TYPE_SERVICE - Static variable in class org.ujorm.orm.metaModel.MetaParams
The instance of the parameter class ITypeService is used for conversion, reading and writting to/from the ResultSet.
TypeService - Class in org.ujorm.orm
A type service for popular Java types and more.
TypeService() - Constructor for class org.ujorm.orm.TypeService
 

U

UjoIterator<T> - Class in org.ujorm.core
Ujo iterator have got some extended functions: iterator can provide optionally a count of items by a count() method iterator can be used in generic loop syntax for( : ) iterator can create a List object
UjoIterator() - Constructor for class org.ujorm.core.UjoIterator
 
UjoSequencer - Class in org.ujorm.orm
The default sequence provider.
UjoSequencer(MetaTable) - Constructor for class org.ujorm.orm.UjoSequencer
 
UjoStatement - Exception in org.ujorm.orm.ao
Special UJO PreparedStatement to get an assigned value.
UjoStatement() - Constructor for exception org.ujorm.orm.ao.UjoStatement
 
UNDEFINED - Static variable in class org.ujorm.orm.TypeService
 
UNIQUE - Static variable in class org.ujorm.orm.metaModel.MetaIndex
Is the index unique ?
UNIQUE_INDEX - Static variable in class org.ujorm.orm.metaModel.MetaColumn
A name of the unique database index for the column, where the same index can contain more columns.
uniqueResult() - Method in class org.ujorm.orm.Query
Returns a unique result or null if no result item (database row) was found.
unpack(Criterion) - Method in class org.ujorm.orm.CriterionDecoder
Unpack criterion.
unwrap(Class<T>) - Method in exception org.ujorm.orm.ao.UjoStatement
 
update(OrmUjo) - Method in class org.ujorm.orm.Session
Database UPDATE of the modified columns for the selected object.
update(OrmUjo, Criterion) - Method in class org.ujorm.orm.Session
Database Batch UPDATE of the modified columns along a criterion.
USER - Static variable in class org.ujorm.orm.metaModel.MetaDatabase
DB user

V

valueOf(String) - Static method in enum org.ujorm.orm.ao.CachePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ujorm.orm.ao.CheckReport
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ujorm.orm.ao.CommentPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ujorm.orm.ao.LazyLoading
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ujorm.orm.ao.Orm2ddlPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ujorm.orm.DbType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ujorm.orm.ao.CachePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ujorm.orm.ao.CheckReport
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ujorm.orm.ao.CommentPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ujorm.orm.ao.LazyLoading
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ujorm.orm.ao.Orm2ddlPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values - Variable in class org.ujorm.orm.CriterionDecoder
 
values() - Static method in enum org.ujorm.orm.DbType
Returns an array containing the constants of this enum type, in the order they are declared.
VARCHAR_MAX_LENGTH - Static variable in class org.ujorm.orm.dialect.MySqlDialect
The Max length of VARCHAR database type
View - Annotation Type in org.ujorm.orm.annot
View is a description of database view.
VIEW - Static variable in class org.ujorm.orm.metaModel.MetaTable
Is the current object a model of a database view ?

W

WHERE - Static variable in class org.ujorm.orm.metaModel.MetaSelect
 
WHERE(Object...) - Static method in class org.ujorm.orm.template.AliasTable.Build
Build SQL WHERE phrase
writeRelations() - Method in class org.ujorm.orm.CriterionDecoder
Writer a relation conditions:
writeSession(Session) - Method in class org.ujorm.implementation.orm.OrmTable
Write a session
writeSession(Session) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
Write a session
writeSession(Session) - Method in interface org.ujorm.orm.OrmUjo
Write an ORM session.
writeValue(Key<?, ?>, Object) - Method in class org.ujorm.implementation.orm.OrmTable
A method for an internal use only.
writeValue(Key<?, ?>, Object) - Method in class org.ujorm.implementation.orm.OrmTableLockable
A write method checking a lock sigh.
writeValue(Key, Object) - Method in class org.ujorm.implementation.orm.OrmTableSynchronized
A method for an internal use only.
writeValue(Key<?, ?>, Object) - Method in class org.ujorm.orm.AbstractMetaModel
Write a value if the operation is enabled
writeValue(Key, Object) - Method in class org.ujorm.orm.metaModel.MetaParams
 

A B C D E F G H I J L M N O P Q R S T U V W

Copyright 2013, Pavel Ponec