Package | Description |
---|---|
org.castor.cpa.jpa.info | |
org.castor.cpa.persistence.sql.engine | |
org.castor.cpa.persistence.sql.keygen | |
org.castor.jdo.util | |
org.castor.persist | |
org.exolab.castor.jdo |
The Java Data Objects API
|
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 |
---|---|
void |
JPACallbackHandler.creating(Object object,
Database db) |
void |
JPACallbackHandler.using(Object object,
Database db) |
Modifier and Type | Method and Description |
---|---|
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 |
NoKeyGenerator.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 |
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 |
KeyGenerator.executeStatement(Database database,
CastorConnection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement.
|
Connection |
AbstractKeyGenerator.getSeparateConnection(Database database)
Operning new JDBC Connection.
|
Modifier and Type | Method and Description |
---|---|
static void |
JDOUtils.closeDatabase(Database db)
Closes the Database without throwing exceptions.
|
Modifier and Type | Method and Description |
---|---|
Database |
AbstractTransactionContext.getDatabase() |
Database |
TransactionContext.getDatabase() |
Constructor and Description |
---|
AbstractTransactionContext(Database db)
Create a new transaction context.
|
GlobalTransactionContext(Database db)
Create a new transaction context.
|
LocalTransactionContext(Database db)
Create a new transaction context.
|
Modifier and Type | Method and Description |
---|---|
Database |
DataObjects.getDatabase()
Opens and returns a connection to the database.
|
Database |
JDOManager.getDatabase()
Opens and returns a connection to the database.
|
Modifier and Type | Method and Description |
---|---|
void |
Persistent.jdoBeforeCreate(Database db)
Called to indicate that an object is to be created in persistent
storage.
|
void |
Persistent.jdoPersistent(Database db)
Called to set the database to which this object belongs when
this object becomes persistent.
|
Constructor and Description |
---|
CacheManager(Database db,
TransactionContext transactionContext,
LockEngine lockEngine)
Creates an instance of this class.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatabaseImpl
An implementation of the JDO database supporting explicit transaction
demarcation.
|
class |
GlobalDatabaseImpl
An implementation of the JDO database supporting explicit transaction
demarcation.
|
class |
LocalDatabaseImpl
An implementation of the JDO
Database interface supporting explicit local
transaction demarcation. |
Modifier and Type | Method and Description |
---|---|
Identity |
SQLEngine.create(Database database,
Object conn,
ProposedEntity entity,
Identity identity) |
void |
JDOCallback.creating(Object object,
Database db) |
void |
JDOCallback.using(Object object,
Database db) |
Constructor and Description |
---|
SimpleQueryExecutor(Database database)
Creates an instance to execute a simple query.
|
Constructor and Description |
---|
QueryResults(TransactionContext tx,
LockEngine engine,
PersistenceQuery query,
AccessMode accessMode,
Database db) |
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 |
CallbackInterceptor.creating(Object object,
Database db)
Called to indicate that an object is to be created in persistent
storage.
|
void |
CallbackInterceptor.using(Object object,
Database db)
Called to indicate that an object has been made persistent.
|
Copyright © 2014. All rights reserved.