| Package | Description |
|---|---|
| org.ujorm.implementation.orm | |
| org.ujorm.orm |
The ORM support.
|
| org.ujorm.orm.metaModel | |
| org.ujorm.orm.utility |
| Modifier and Type | Method and Description |
|---|---|
Session |
OrmTableSynchronized.readSession()
Read a session
|
Session |
OrmTable.readSession()
Read a session
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrmTableSynchronized.writeSession(Session session)
Write a session
|
void |
OrmTable.writeSession(Session session)
Write a session
|
| Modifier and Type | Method and Description |
|---|---|
Session |
OrmHandler.createSession()
Create new session
|
Session |
OrmHandler.getDefaultSession()
Get a default Session of the OrmHandler.
|
Session |
Transaction.getSession()
Get the current Session.
|
Session |
Query.getSession()
Session
|
Session |
OrmHandler.getSession()
Deprecated.
Method was replaced by the name
OrmHandler.getDefaultSession() |
static Session |
Session.newClosedSession(OrmHandler handler)
Create the closed session
|
Session |
OrmUjo.readSession()
Read an ORM session where the session is an transient property.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DbProcedure.call(Session session)
Call the procedure and return a value of the first Property.
|
<T> T |
DbProcedure.call(Session session,
Key<UJO,T> result)
Call the procedure and return a type-safe value of the required Property
|
long |
UjoSequencer.nextValue(Session session)
Returns the next sequence value by a synchronized method.
|
void |
InitializationBatch.run(Session session)
Inicializaton batch implementation can be called after building a meta-model.
|
Query<UJO> |
Query.setSession(Session session)
An open session must be assigned before executing a database request.
|
void |
OrmUjo.writeSession(Session session)
Write an ORM session.
|
| Constructor and Description |
|---|
Query(MetaTable table,
Criterion<UJO> criterion,
Session session)
Create new ORM query.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
MetaDatabase.getDefaultSession()
Returns a default handler session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetaTable.assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework
|
boolean |
MetaPKey.assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework in case the PK generator is type of MEMO_SEQUENCE.
|
void |
MetaDbServiceEx.checkDBStructure(Session session,
boolean repairDB) |
void |
MetaDbService.create(MetaDatabase metaDatabase,
Session session)
Create DB
|
void |
MetaDatabase.create(Session session)
Create DB
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
OrmTools.reload(OrmUjo ujo,
Session session)
Reload values of the persistent object.
|
Copyright 2013, Pavel Ponec