| Package | Description |
|---|---|
| org.tentackle.persist |
Persistence layer implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgnoreDuplicatesPersistenceVisitor
A visitor to ignore duplicates within a persistence operation.
Used to avoid duplicate key errors (for example in AbstractPersistentObject.insertPlainWithComponents()),
if components are referenced more than once within the same root entity. |
| Modifier and Type | Method and Description |
|---|---|
PersistenceVisitor |
Db.unregisterPersistenceVisitor(DbTransactionHandle handle)
Unegisters a
PersistenceVisitor. |
PersistenceVisitor |
DbTransaction.unregisterPersistenceVisitor(DbTransactionHandle handle)
Unegisters a
PersistenceVisitor. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PersistenceVisitor> |
Db.getPersistenceVisitors()
Gets the currently registered persistence visitors.
|
Collection<PersistenceVisitor> |
DbTransaction.getPersistenceVisitors()
Gets the currently registered persistence visitors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDbObject.acceptPersistenceVisitor(PersistenceVisitor visitor,
char modType)
Accepts a persistence operation visitor.
|
DbTransactionHandle |
Db.registerPersistenceVisitor(PersistenceVisitor visitor)
Registers a
PersistenceVisitor to be invoked just before
performing a persistence operation.Notice that the visitor must be registered within the transaction, i.e. |
DbTransactionHandle |
DbTransaction.registerPersistenceVisitor(PersistenceVisitor visitor)
Registers a
PersistenceVisitor to be invoked just before
performing a persistence operation. |
Copyright © 2016 Krake Softwaretechnik. All rights reserved.