|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Database | |
|---|---|
| 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
Version: $Revision: 6216 $ $Date: 2005-04-21 14:21:10 -0600 (Thu, 21 Apr 2005) $
Author: Assaf Arkin
The class JDOManager provides the Castor JDO engine used for
obtaining a database connection. |
| 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. |
| Uses of Database in org.castor.cpa.persistence.sql.engine |
|---|
| Methods in org.castor.cpa.persistence.sql.engine with parameters of type Database | |
|---|---|
Object |
SQLStatementInsert.executeStatement(Database database,
Connection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement. |
| Uses of Database in org.castor.cpa.persistence.sql.keygen |
|---|
| Methods in org.castor.cpa.persistence.sql.keygen with parameters of type Database | |
|---|---|
Object |
SequenceDuringKeyGenerator.executeStatement(Database database,
Connection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement. |
Object |
NoKeyGenerator.executeStatement(Database database,
Connection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement. |
Object |
KeyGenerator.executeStatement(Database database,
Connection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement. |
Object |
AbstractBeforeKeyGenerator.executeStatement(Database database,
Connection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement. |
Object |
AbstractAfterKeyGenerator.executeStatement(Database database,
Connection conn,
Identity identity,
ProposedEntity entity)
Executes the SQL statement after preparing the PreparedStatement. |
Connection |
AbstractKeyGenerator.getSeparateConnection(Database database)
Operning new JDBC Connection. |
| Uses of Database in org.castor.jdo.util |
|---|
| Methods in org.castor.jdo.util with parameters of type Database | |
|---|---|
static void |
JDOUtils.closeDatabase(Database db)
Closes the Database without throwing exceptions. |
| Uses of Database in org.castor.persist |
|---|
| Methods in org.castor.persist that return Database | |
|---|---|
Database |
TransactionContext.getDatabase()
|
Database |
AbstractTransactionContext.getDatabase()
|
| Constructors in org.castor.persist with parameters of type Database | |
|---|---|
AbstractTransactionContext(Database db)
Create a new transaction context. |
|
GlobalTransactionContext(Database db)
Create a new transaction context. |
|
LocalTransactionContext(Database db)
Create a new transaction context. |
|
| Uses of Database in org.exolab.castor.jdo |
|---|
| Methods in org.exolab.castor.jdo that return Database | |
|---|---|
Database |
JDOManager.getDatabase()
Opens and returns a connection to the database. |
Database |
JDO.getDatabase()
Deprecated. Opens and returns a connection to the database. |
Database |
DataObjects.getDatabase()
Opens and returns a connection to the database. |
| Methods in org.exolab.castor.jdo with parameters of type Database | |
|---|---|
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. |
| Constructors in org.exolab.castor.jdo with parameters of type Database | |
|---|---|
CacheManager(Database db,
TransactionContext transactionContext,
LockEngine lockEngine)
Creates an instance of this class. |
|
| Uses of Database in org.exolab.castor.jdo.engine |
|---|
| Classes in org.exolab.castor.jdo.engine that implement Database | |
|---|---|
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. |
| Methods in org.exolab.castor.jdo.engine with parameters of type Database | |
|---|---|
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)
|
| Constructors in org.exolab.castor.jdo.engine with parameters of type Database | |
|---|---|
SimpleQueryExecutor(Database database)
Creates an instance to execute a simple query. |
|
| Uses of Database in org.exolab.castor.persist |
|---|
| Constructors in org.exolab.castor.persist with parameters of type Database | |
|---|---|
QueryResults(TransactionContext tx,
LockEngine engine,
PersistenceQuery query,
AccessMode accessMode,
Database db)
|
|
| Uses of Database in org.exolab.castor.persist.spi |
|---|
| Methods in org.exolab.castor.persist.spi with parameters of type Database | |
|---|---|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||