Package | Description |
---|---|
org.castor.cpa.persistence.sql.engine | |
org.castor.cpa.persistence.sql.keygen | |
org.castor.persist | |
org.castor.persist.resolver | |
org.exolab.castor.jdo.engine |
Implementation of the Castor JDO engine.
|
org.exolab.castor.persist |
The Castor persistence engine handles object persistence, object
caching, transaction concurrency and locking.
|
org.exolab.castor.persist.spi |
Defines the interfaces for persistence engine service providers.
|
Modifier and Type | Method and Description |
---|---|
Object |
SQLStatementUpdate.executeStatement(CastorConnection conn,
Identity identity,
ProposedEntity newentity,
ProposedEntity oldentity)
Stores the identity to the database using JDBC Connection.
|
Object |
SQLStatementInsert.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractBeforeKeyGenerator.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Object |
AbstractAfterKeyGenerator.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Object |
SequenceDuringKeyGenerator.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Object |
NoKeyGenerator.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Object |
KeyGenerator.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Modifier and Type | Method and Description |
---|---|
Object |
TransactionContext.load(Identity identity,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode)
Load an object for use within the transaction.
|
Object |
AbstractTransactionContext.load(Identity identity,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode)
Load an object for use within the transaction.
|
Object |
TransactionContext.load(Identity identity,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode,
QueryResults results)
Load an object for use within the transaction.
|
Object |
AbstractTransactionContext.load(Identity identity,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode,
QueryResults results)
Load an object for use within the transaction.
|
Constructor and Description |
---|
ProposedEntity(ProposedEntity proposedEntity)
Creates an instance of this class based upon the values passed in.
|
Modifier and Type | Method and Description |
---|---|
void |
SerializableResolver.load(TransactionContext tx,
OID oid,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode) |
void |
ManyRelationResolver.load(TransactionContext tx,
OID oid,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode) |
void |
PrimitiveResolver.load(TransactionContext tx,
OID oid,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode) |
void |
PersistanceCapableRelationResolver.load(TransactionContext tx,
OID oid,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode) |
void |
ResolverStrategy.load(TransactionContext tx,
OID oid,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode)
Load an object with specified identity from the persistent storage.
|
Modifier and Type | Method and Description |
---|---|
Identity |
SQLEngine.create(Database database,
Object conn,
ProposedEntity entity,
Identity identity) |
void |
SQLStatementLoad.executeStatement(CastorConnection conn,
Identity identity,
ProposedEntity entity,
AccessMode accessMode)
Execute statement to load entity with given identity from database using given JDBC
connection.
|
void |
SQLQuery.fetch(ProposedEntity proposedObject) |
void |
SQLEngine.load(Object conn,
ProposedEntity entity,
Identity identity,
AccessMode accessMode)
Loads the object from persistence storage.
|
void |
SQLEngine.store(Object conn,
Identity identity,
ProposedEntity newentity,
ProposedEntity oldentity) |
Modifier and Type | Method and Description |
---|---|
void |
LockEngine.load(AbstractTransactionContext tx,
OID paramoid,
ProposedEntity proposedObject,
AccessMode suggestedAccessMode,
int timeout,
QueryResults results,
ClassMolder paramMolder,
Identity identity)
Loads an object of the specified type and identity from
persistent storage.
|
void |
ClassMolder.load(TransactionContext tx,
DepositBox locker,
ProposedEntity proposedObject,
AccessMode accessMode,
QueryResults results)
Loads the field values.
|
void |
ClassMolder.mold(TransactionContext tx,
DepositBox locker,
ProposedEntity proposedObject,
AccessMode accessMode) |
Modifier and Type | Method and Description |
---|---|
Identity |
Persistence.create(Database database,
Object conn,
ProposedEntity entity,
Identity identity)
Creates a new object in persistence storage.
|
void |
PersistenceQuery.fetch(ProposedEntity proposedObject)
Loades the object.
|
void |
AbstractCallQuery.fetch(ProposedEntity proposedObject) |
void |
Persistence.load(Object conn,
ProposedEntity proposedObject,
Identity identity,
AccessMode accessMode)
Loads the object from persistence storage.
|
void |
Persistence.store(Object conn,
Identity identity,
ProposedEntity newentity,
ProposedEntity oldentity)
Stores the object in persistent storage, given the object fields
and its identity.
|
Copyright © 2018. All rights reserved.