|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
KeyGenerator.generateKey(java.sql.Connection, java.lang.String, java.lang.String, java.util.Properties)
is called after INSERT.
CacheFactory. KeyGenerator.generateKey(java.sql.Connection, java.lang.String, java.lang.String, java.util.Properties)
is called before INSERT.
PersistenceFactory for generic JDBC driver.BigDecimal to Boolean.BigDecimal to Byte.BigDecimal to Date.BigDecimal to Double.BigDecimal to Float.BigDecimal to Integer.BigDecimal to Long.BigDecimal to Short.Boolean to BigDecimal.Boolean to Integer.Boolean to Short.Boolean to String.byte[] to InputStream.byte[] to Serializable.
byte[] to String.Byte to BigDecimal.Byte to Integer.Byte to Short.Cache implementations
(org.castor.cache.Factories).
CacheFactory implementations obtained from the Castor
properties file and used by the JDO mapping configuration file.org.exolab.castor.types.Date to Date.org.exolab.castor.types.Date to java.sql.Date.org.exolab.castor.types.Duration to Long.char[] to java.sql.Clob.char[] to String.Persistence. CacheFactory for the CoherenceCache
implementation of Cache.CacheFactory for count-limited cache.TransactionContext.prepare() has returned successfully. Throws an IllegalStateException
when called without calling TransactionContext.prepare() first.
In other words, any modifications to any data objects which are queried/loaded/created/update to this database is automatically stored to the database and visible to subsequence transactions. (ie. update is solely used for long transaction support and should not be called for any data object queried/loaded/created in the this transaction.)
If the transaction cannot commit, the entire transaction rolls
back and a TransactionAbortedException exception is
thrown.
After this method returns, the transaction is closed and all
persistent objects are transient. Using Database.begin() to open a
new transaction will not restore objects to their persistent
stage.
TransactionAbortedException,
causing a rollback to occur as the next step.
TransactionAbortedException,
causing a rollback to occur as the next step.
If the object has an identity then duplicate identity check happens in this method, and the object is visible to queries in this transaction. If the identity is null, duplicate identity check occurs when the transaction completes and the object is not visible to queries until the transaction commits.
XAResourceImpl to produce a new transaction context
implementation suitable for this data source.
PersistenceFactory for IBM DB2 driver.KeyGenerator.generateKey(java.sql.Connection, java.lang.String, java.lang.String, java.util.Properties)
is never called, all work is done by KeyGenerator.patchSQL(java.lang.String, java.lang.String).
Database connections. Date to BigDecimal.Date to org.exolab.castor.types.Date.Date to Double.Date to Integer.Date to Long.Date to java.sql.Date.Date to java.sql.Time.Date to java.sql.Timestamp.Date to String.ClassMolder to access the dirty
checking cache of an object.
PersistenceFactory for DB 2 driver.Double to BigDecimal.Double to Date.Double to Float.Double to Integer.Double to Long.CacheFactory for the EHCache
implementation of Cache.PersistenceFactory instance.
PersistenceFactory instance.
PersistenceFactory instance.
PersistenceFactory instance.
CacheFactory for the FIFOHashbelt
implementation of Cache.CacheFactory for the FKCache
implementation of Cache.Float to BigDecimal.Float to Double.Float to Integer.Float to Long.PersistenceFactory for generic JDBC driver.CacheFactory for the GigaspacesCache
implementation of Cache.Cache instance with the specified properties.
OQLQuery to retrieve the class descriptor.
Note: Prior to 0.9.9.1 release of castor the identity could only be determined if the object took part in the transaction. If this was not the case, the previous implementation also returned null.
KeyGeneratorFactoryRegistry.getKeyGeneratorFactory(java.lang.String).
LockEngine in use by this database instance.
OQLQuery.create(java.lang.String)
OQLQuery.create(java.lang.String)
must be called before the query can be executed.
SyntaxNotSupportedException.
TransactionManagerFactory with the specified name.
TransactionManagerFactory
implementations.
TransactionManager's.
PersistenceFactory for HypersonicSQL driver.PersistenceFactory for Informix driver.InputStream to byte[].InputStream to Serializable.
Integer to BigDecimal.Integer to Boolean.Integer to Byte.Integer to Date.Integer to Double.Integer to Float.Integer to Long.Integer to Short.PersistenceFactory for Interbase driver.class
instance.
ObjectLock.enter(),
but not yet called ObjectLock.leave().
QueryExpression#isLimitClauseSupported().
QueryExpression.isLimitClauseSupported().
QueryExpression#isLimitClauseSupported().
QueryExpression#isLimitClauseSupported().
QueryExpression#isOffsetClauseSupported().
QueryExpression.isOffsetClauseSupported().
QueryExpression#isOffsetClauseSupported().
QueryExpression#isOffsetClauseSupported().
CacheFactory for the JCache
implementation of Cache.CacheFactory for the JcsCache
implementation of Cache.KeyGeneratorFactory implementations
obtained from the Castor properties file and used by the
JDO mapping configuration file.KeyGenerator instances.
CacheFactory for the LRUHashbelt
implementation of Cache.Tokens.Database interface supporting explicit local
transaction demarcation.Long to BigDecimal.Long to org.exolab.castor.types.Duration.Long to Date.Long to Double.Long to Float.Long to Integer.Long to Short.
This method is similar to TransactionContext.fetch(org.exolab.castor.persist.ClassMolder, org.exolab.castor.persist.spi.Identity, org.exolab.castor.mapping.AccessMode) except that it will load the object
only once within a transaction and always return the same instance.
If the object is loaded for read-only then no lock is acquired and updates to the object are not reflected at commit time. If the object is loaded for read-write then a read lock is acquired (unless timeout or deadlock detected) and the object is stored at commit time. The object is then considered persistent and may be deleted or upgraded to write lock. If the object is loaded for exclusive access then a write lock is acquired and the object is synchronized with the persistent copy.
Attempting to load the object twice in the same transaction, once with exclusive lock and once with read-write lock will result in an exception.
In addition to TransactionContext.load(Identity,ProposedEntity,AccessMode)
a QueryResults can be specified.
Load an object of the specified type and given identity into a given instance of object. Once loaded the object is persistent. Calling this method with the same identity in the same transaction will return the same object. This method is equivalent to a query that returns a single object. If the identity spans on more than one field, all of the identity fields can be wrapped in a Complex object.
Load an object of the specified type and given identity. Once loaded the object is persistent. Calling this method with the same identity in the same transaction will return the same object. This method is equivalent to a query that returns a single object.
TxSynchronizable implementations from the
properties file, if not loaded before.
A soft lock is acquired in memory, not in the database. To acquire a lock in the database, use the locked access mode.
If the object already has a write lock in this transaction or a read lock in this transaction but no read lock in any other transaction, a write lock is obtained. If this object has a read lock in any other transaction this method will block until the other transaction will release its lock. If the timeout has elapsed or a deadlock has been detected, an exception will be thrown but the current lock will be retained.
ResolverStrategy for many relations.
ResolverStrategy for M:N relations.PersistenceFactory for MySQL JDBC driver.Update will also mark objects to be created if the TIMESTAMP equals to NO_TIMESTAMP.
CacheFactory for the NoCache
implementation of Cache.Token from the stream.
Enumeration implementation to traverse the result as returned by the
execution of the OQL query.Object to String.PersistenceFactory for Oracle 7/8 driver.com.opensymphony.oscache.general.GeneralCacheAdministrator.
CacheFactory for the OsCache
implementation of Cache.org.exolab.castor.persist,
LockEngine implements a persistence engine
that caches objects in memory for performance reasons and thus eliminates the
number of operations against the persistence storage.
JDOManager provides the Castor JDO engine used for
obtaining a database connection. capacity.
capacity.
containers.
container-class.
debug.
monitor.
name.
reaper-class.
ttl.
ttl.
type.
Parser as the tree
representation of the OQL Query. ResolverStrategy for 1:1 relations.PersistenceFactory implementations
obtained from the Castor properties file and used by the
JDO database configuration file.PersistenceFactory implementation for
Borland's Pointbase driver.PersistenceFactory for postgreSQL JDBC driver.ResolverStrategy for primitive fields.PersistenceFactory for Progress RDBMS.null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
null which both should lead to
the default behaviour of the converter.
Collection
It is a lazy Colllection. TxSynchronizable implementations at the
TransactionContect at end of begin().
ResolverStrategy for
serializable fields.Serializable to byte[].
Serializable to InputStream.
Short to BigDecimal.Short to Boolean.Short to Byte.Short to Integer.Short to Long.java.sql.Clob to char[].java.sql.Clob to String.java.sql.Date to org.exolab.castor.types.Date.java.sql.Date to Date.java.sql.Time to Date.java.sql.Timestamp to Date.java.sql.Timestamp to String.String to BigDecimal.String to Boolean.String to byte[].String to char[].String to Character.String to Date.String to Double.String to Float.String to Integer.String to Long.String to Short.String to java.sql.Clob.String to java.sql.Timestamp.The interceptor is a callback that notifies data objects on persistent state events.
If callback interceptor is not overriden, events will be sent to data object that implements the org.exolab.castor.jdo.Persistent interface.
The factory is used to obatain a new instance of data object when it is needed during loading.
ObjectLock before entering the temporary lock-acquire state.
TransactionManagerFactory
implementations (org.castor.transactionmanager.Factories).
TxSynchronizable
implementations (org.exolab.castor.persit.TxSynchronizable).
TypeConvertor
implementations (org.castor.cpa.persistence.TypeConvertors).
CacheFactory for the TimeLimited
implementation of Cache.Lexerfrom the String
OQL representation. TransactionManagerFactory implementations obtained from the
Castor properties file and used by the JDO configuration file.TransactionManagerFactory implementations specified in the given
LocalConfiguration.
TransactionManager instances obtained by their name.CacheFactory for the Unlimited
implementation of Cache.TxSynchronizable implementations at the
TransactionContect after commit() or rollback().
Update will also mark objects to be created if the TIMESTAMP equals to NO_TIMESTAMP.
For example, the data object may be sent to a client application and dispayed to a user. After that the objects is being modified in the client application, the object returns back and is update to the database in the second transaction.
See Long Transaction on Castor website.
XAResource implementation for an XAResourceSource.
ClassMolder.
XAResource.
FieldMolder.
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||