getObjectById(cls, key) - JDO PersistenceManager's method
Method javax.jdo.PersistenceManager
T getObjectById(
Class<T> cls,
Object key
)
- Parameters:
-
cls
- The type of object to load -
key
- either the string representation of the object id, or an object representation of a single field identity key
- Returns:
- the corresponding persistent instance
- Since:
- JDO 2.0