| Modifier and Type | Method and Description |
|---|---|
void |
ManagedMap.flush(ConnectionImpl connection,
boolean removals,
boolean force)
Flushes the collection
|
void |
ManagedList.flush(ConnectionImpl connection,
boolean removals,
boolean force)
Flushes the collection
|
void |
ManagedSet.flush(ConnectionImpl connection,
boolean removals,
boolean force)
Flushes the collection
|
abstract void |
ManagedCollection.flush(ConnectionImpl connection,
boolean removals,
boolean force)
Flushes the collection
|
protected boolean |
ManagedCollection.removed(ConnectionImpl connection,
boolean removals) |
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedInstance.checkVersion(ConnectionImpl connection)
Checks the optimistic lock for the instance.
|
void |
ManagedInstance.flush(ConnectionImpl connection)
Flushes the state of the instance to the database.
|
void |
ManagedInstance.flushAssociations(ConnectionImpl connection,
boolean removals,
boolean force)
Flushes the associations.
|
void |
ManagedInstance.incrementVersion(ConnectionImpl connection,
boolean commit)
Increments the version of the instance.
|
void |
ManagedInstance.refresh(EntityManagerImpl entityManager,
ConnectionImpl connection,
LockModeType lockMode)
Refreshes the instance from the database.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionImpl |
DataSourceImpl.getConnection() |
ConnectionImpl |
ConnectionFactory.makeObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionFactory.activateObject(ConnectionImpl obj) |
void |
ConnectionFactory.destroyObject(ConnectionImpl obj) |
void |
ConnectionFactory.passivateObject(ConnectionImpl obj) |
void |
ForeignKey.performAttachChild(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child to the managed instance.
|
void |
ForeignKey.performDetachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Detaches the instance from all the children.
|
void |
ForeignKey.performDetachChild(ConnectionImpl connection,
Object key,
Object child)
Detaches the child.
|
void |
EntityTable.performInsert(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs inserts to the table for the managed instance or joins.
|
void |
JoinableTable.performInsert(ConnectionImpl connection,
Object source,
Object key,
Object destination,
int order)
Performs the insert for the join.
|
void |
CollectionTable.performInsert(ConnectionImpl connection,
Object source,
Object key,
Object destination,
int order)
Performs the insert for the join.
|
void |
JoinTable.performInsert(ConnectionImpl connection,
Object source,
Object key,
Object destination,
int order)
Performs the insert for the join.
|
void |
EntityTable.performRemove(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs removes from the table for the managed instance or joins.
|
void |
JoinableTable.performRemove(ConnectionImpl connection,
Object source,
Object key,
Object destination)
Performs the remove for the join.
|
void |
CollectionTable.performRemove(ConnectionImpl connection,
Object source,
Object key,
Object destination)
Performs the remove for the join.
|
void |
JoinTable.performRemove(ConnectionImpl connection,
Object source,
Object key,
Object destination)
Performs the remove for the join.
|
void |
JoinableTable.performRemoveAll(ConnectionImpl connection,
Object source)
Performs the remove for the join.
|
void |
CollectionTable.performRemoveAll(ConnectionImpl connection,
Object source)
Performs the remove for the join.
|
void |
JoinTable.performRemoveAll(ConnectionImpl connection,
Object source)
Performs the remove for the join.
|
Object |
EntityTable.performSelectVersion(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Selects the version from the table.
|
void |
EntityTable.performUpdate(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs update to the table for the managed instance or joins.
|
boolean |
EntityTable.performUpdateWithUpdatability(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs update to the table for the managed instance or joins.
|
void |
EntityTable.performVersionUpdate(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs version update to the table.
|
boolean |
ConnectionFactory.validateObject(ConnectionImpl obj) |
| Constructor and Description |
|---|
PreparedStatementFactory(ConnectionImpl connection) |
PreparedStatementImpl(ConnectionImpl connection,
String sql,
PreparedStatement statement,
GenericKeyedPool<String,PreparedStatementImpl> pool) |
| Constructor and Description |
|---|
ConnectionImpl(Connection connection,
org.apache.commons.pool.ObjectPool<ConnectionImpl> pool) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionImpl |
EntityManagerImpl.getConnection()
Returns the active connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionImpl.flush(ConnectionImpl connection)
Flushes the session persisting changes to the database.
|
| Constructor and Description |
|---|
EntityTransactionImpl(EntityManagerImpl entityManager,
ConnectionImpl connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
PluralAssociationMapping.attach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child.
|
void |
PluralMapping.attach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child.
|
void |
ElementCollectionMapping.attach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child.
|
void |
PluralAssociationMapping.detach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child)
detaches the child.
|
void |
PluralMapping.detach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child)
detaches the child.
|
void |
ElementCollectionMapping.detach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child)
detaches the child.
|
void |
PluralAssociationMapping.detachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Details all the children.
|
void |
PluralMapping.detachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Details all the children.
|
void |
ElementCollectionMapping.detachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Details all the children.
|
void |
PluralAssociationMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
JoinedMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
ElementCollectionMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
SingularAssociationMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
EmbeddedMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityTypeImpl.performInsert(ConnectionImpl connection,
ManagedInstance<X> instance)
Performs inserts to each table for the managed instance.
|
void |
EntityTypeImpl.performRefresh(ConnectionImpl connection,
ManagedInstance<X> instance,
LockModeType lockMode)
Performs refresh for the instance
|
void |
EntityTypeImpl.performRemove(ConnectionImpl connection,
ManagedInstance<X> instance) |
Object |
EntityTypeImpl.performSelectVersion(ConnectionImpl connection,
ManagedInstance<? extends X> instance)
Selects the version for the instance.
|
void |
EntityTypeImpl.performUpdate(ConnectionImpl connection,
ManagedInstance<X> instance)
Performs the update for the instance.
|
void |
EntityTypeImpl.performVersionUpdate(ConnectionImpl connection,
ManagedInstance<? extends X> instance)
Performs the version update for the instance.
|
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.