db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jdo Wiki] Update of "AllTheOtherTests" by CraigRussell
Date Tue, 18 Oct 2005 22:08:41 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jdo Wiki" for change notification.

The following page has been changed by CraigRussell:
http://wiki.apache.org/jdo/AllTheOtherTests

------------------------------------------------------------------------------
  ||PC||A7.12-42||A7.12-42 [String: the String is parsed to a value of the appropriate type
and the value is used to construct the single field identity instance. For Object``Identity,
the String is decomposed into two parts using “:” as a delimiter. The first part is the
class name; the second is the String representation of the value of the class]||.||.||
  ||PC||A7.12-43||A7.12-43 [Object: for Object``Identity, the key type must be assignable
from the parameter key]||.||.||
  ||PC||A7.13-1||A7.13-1 [void jdoReplaceDetachedState(); This method calls the State``Manager
with the current detached state instance as a parameter and replaces the current detached
state instance with the value provided by the State``Manager.]||.||.||
- ||JDOHelper||A8.3-11||A8.3-11 [static Object[] getObjectIds (Object[] pcs); static Collection
getObjectIds (Collection pcs); These methods return the JDO identities of the parameter instances.
For each instance in the param­eter, the getObjectId method is called. They return one identity
instance for each persistence-capable instance in the parameter. The order of iteration of
the returned Collection exactly matches the order of iteration of the parameter Collection].||.||.||
+ ||JDOHelper||A8.3-11||A8.3-11 [static Object[] getObjectIds (Object[] pcs); static Collection
getObjectIds (Collection pcs); These methods return the JDO identities of the parameter instances.
For each instance in the param­eter, the getObjectId method is called. They return one identity
instance for each persistence-capable instance in the parameter. The order of iteration of
the returned Collection exactly matches the order of iteration of the parameter Collection].||.||JDO-188||
  ||JDOHelper||A8.4-1||A8.4-1 [static Object getVersion (Object pc); This method returns the
JDO version of the instance for persistent and detached instances. It returns null if the
instance is transient or null or if its class is not persistence-capable.]||.||.||
  ||JDOHelper||A8.5.6-1||A8.5.6-1 [static boolean isDetached (Object pc); Instances that have
been detached return true. The method returns false if the instance is transient or null or
if its class is not detachable.]||.||.||
  ||JDOHelper||A8.6-4||If there are any exceptions while trying to construct the Properties
instance or to call the static method, then either A8.6-4 [JDO``Fatal``User``Exception] or||.||.||
  ||JDOHelper||A8.6-5||[JDO``Fatal``Internal``Exception is thrown], depending on whether the
exception is due to the user or the implementation.||.||.||
  ||JDOHelper||A8.6-6||A8.6-6 [If the class named by the javax.jdo.Persistence``Manager``Factory``Class
property cannot be found, or is not accessible to the user, then JDO``Fatal``User``Exception
is thrown.]||.||.||
  ||JDOHelper||A8.6-7||A8.6-7 [If there is no public static implementation of the getPersistenceManagerFactory(Properties)
method, then JDO``Fatal``Internal``Exception is thrown.]||.||.||
- ||PMF||A11.4-10||A11.4-10 [boolean isClosed(); Return true if this Persistence``Manager``Factory
is closed; and false otherwise.]||.||.||
+ ||PMF||A11.4-10||A11.4-10 [boolean isClosed(); Return true if this Persistence``Manager``Factory
is closed; and false otherwise.]||.||JDO-189||
- ||PMF||A11.8-1||A11.8-1 [To obtain a reference to the cache manager, the getDataStoreCache()
method of Persistence``Manager``Factory is used. Data``Store``Cache getDataStoreCache(); If
there is no second-level cache, the returned instance silently does nothing.]||.||.||
+ ||PMF||A11.8-1||A11.8-1 [To obtain a reference to the cache manager, the getDataStoreCache()
method of Persistence``Manager``Factory is used. Data``Store``Cache getDataStoreCache(); If
there is no second-level cache, the returned instance silently does nothing.]||.||JDO-190||
  ||PMF||A11.9-1||A11.9-1 [void addInstanceLifecycleListener (Instance``Lifecycle``Listen­er
listener, Class[] classes); This Persistence``Manager``Factory method adds the listener to
the list of instance lifecycle event listeners set as the initial listeners for each Persistence``Manager
created by this Per­sistence``Manager``Factory. The classes parameter identifies all of the
classes of interest. If the classes parameter is specified as null, events for all persistent
classes and interfaces are gen­erated. If the classes specified have persistence-capable
subclasses, all such subclasses are regis­tered implicitly. The listener will be called for
each event for which it implements the corresponding listener inter­face.]||.||.||
  ||PMF||A11.9-2||A11.9-2 [void removeInstanceLifecycleListener (Instance``Lifecycle``Listener
listener); This Persistence``Manager``Factory method removes the listener from the list of
event listen­ers set as the initial listeners for each Persistence``Manager created by this
Persistence``Manager``Factory.]||.||.||
  ||PM||A12.5.1-2||A12.5.1-2 (PART 1) [If evictAll with no parameters is called, then all
persistent-clean instances are evicted (they transition to hollow).] A12.5.1-2 (PART 2), A12.5.1-3
(PART 2), A12.5.1-4 (PART 2) [For each persistent-clean and persistent-nontransactional instance
that the JDO Persistence``Manager evicts, it: calls the jdoPreClear method on each instance,
if the class of the instance implements Instance``Callbacks clears persistent fields on each
instance (sets the value of the field to its Java default value); changes the state of instances
to hollow or persistent-nontransactional (cannot distinguish between these two states) this
is not directly testable..]] '''See spreadsheet for more info.'''||.||.||
@@ -71, +71 @@

  ||PM||A12.15-12||A12.15-12 [void postDetach(Instance``Lifecycle``Event event); This method
is called whenever a persistent instance is copied for detachment. The source instance is
the detached copy; the target instance is the persistent instance.]]|| clr ||JDO-155||
  ||PM||A12.15-13||A12.15-13 [void preAttach(Instance``Lifecycle``Event event); This method
is called before a detached instance is attached. The source instance is the detached instance].]||
clr ||JDO-155||
  ||PM||A12.15-14||A12.15-14 [void postAttach(Instance``Lifecycle``Event event); This method
is called after a detached instance is attached. The source instance is the corresponding
persistent instance in the cache; the target instance is the detached instance.]]|| clr ||JDO-155||
- ||PM||A12.16-1||A12.16-1 [JDOConnection getDataStoreConnection(); If this method is called
while a datastore transaction is active, the object returned will be enlisted in the current
transaction. If called in an optimistic transaction before flush has been called, or outside
an active transaction, the object returned will not be enlisted in any transaction.]]||.||.||
+ ||PM||A12.16-1||A12.16-1 [JDOConnection getDataStoreConnection(); If this method is called
while a datastore transaction is active, the object returned will be enlisted in the current
transaction. If called in an optimistic transaction before flush has been called, or outside
an active transaction, the object returned will not be enlisted in any transaction.]]||.||JDO-191||
  ||TX||A13.4.5-1||Once a transaction has been marked for rollback via setRollbackOnly, the
commit method will always fail with JDO``Fatal``Data``Store``Exception.||clr||JDO-140||
  ||TX||A13.4.5-2||When a transaction is not active, and after a transaction is begun, getRollbackOnly
will return false. Once setRollbackOnly has been called, it will return true until commit
or rollback is called.||clr||JDO-140||
  

Mime
View raw message