newInstance(pcClass, sm) - JDO JDOImplHelper's method
Method javax.jdo.spi.JDOImplHelper
PersistenceCapable newInstance(
Class pcClass,
StateManager sm
)
jdoStateManager
. The new instance has its jdoFlags
set to LOAD_REQUIRED
. - Parameters:
-
pcClass
- thePersistenceCapable
class. -
sm
- theStateManager
which will own the new instance.
- Returns:
- the new instance, or
null
if the class is not registered.
- Since:
- JDO 1.0