ObjectDB ObjectDB

getVersion(pc) - JDO StateInterrogation's method

Method
javax.jdo.spi.StateInterrogation
Object getVersion(
  Object pc
)

Return the version of the parameter instance.

Instances unknown by the implementation return null.

Parameters:
pc - the instance.
Returns:
a copy of the ObjectId of the parameter instance as modified in this transaction.
Since:
JDO 2.0
See Also:
PersistenceCapable.jdoGetVersion()