ObjectDB ObjectDB

isTransactional(pc) - JDO JDOHelper's static method

Static Method
javax.jdo.JDOHelper
boolean isTransactional(
  Object pc
)

Tests whether the parameter instance is transactional. Instances whose state is associated with the current transaction return true.

Transient instances and instances of classes that do not implement PersistenceCapable return false.

Parameters:
pc - the PersistenceCapable instance.
Returns:
true if the parameter instance is transactional.
Since:
JDO 1.0
See Also:
PersistenceCapable.jdoIsTransactional()