About find

51-60 of 200Refresh
JPA Doc
3

javax.persistence.OptimisticLockException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.find(Class, Object, LockModeType) EntityManager.find(Class, Object, LockModeType, java.util.Map) EntityManager
Issue
3

Page cache File handling produced an java.io.IOException: Negative seek offset

we get following exception when we execute a find() in a scenario, we can not readjust ... _541100773067300498\pages11.dat' (error 117)     at com.objectdb.jpa.EMImpl.find(EMImpl.java:630)     at com.objectdb.jpa.EMImpl.find(EMImpl.java:545)     at com.btc.ep.base.dal.internal.services
JDO Doc
2

construct(className, keyString)

Static Method javax.jdo.spi.JDOImplHelper Object construct(   String className,   String keyString ) Construct an instance of the parameter class, using the keyString as an argument to the constructor. If the class has a StringConstructor instance registered, use it. If not, try to find
JDO Doc
2

getInstance(bundleName)

Static Method javax.jdo.spi.I18NHelper I18NHelper getInstance(   String bundleName ) An instance bound to a bundle. This method uses the current class loader to find the bundle. Parameters: bundleName - the name of the bundle Returns: the helper instance bound to the bundle Since: JDO 1.0.1
JDO Doc
2

getInstance(bundleName, loader)

Static Method javax.jdo.spi.I18NHelper I18NHelper getInstance(   String bundleName,   ClassLoader loader ) An instance bound to a bundle. This method uses the specified class loader to find the bundle. Note, the specified class loader must not be null. Parameters: bundleName - the name
JDO Doc
2

getInstance(cls)

Static Method javax.jdo.spi.I18NHelper I18NHelper getInstance(   Class cls ) An instance bound to a bundle. This method figures out the bundle name for the class object's package and uses the class' class loader to find the bundle. Note, the specified class object must not be null. Parameters: cls
JDO Doc
2

getMapping()

Method javax.jdo.PersistenceManagerFactory String getMapping() Get the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Returns: the Mapping setting. Since: JDO 1.0
JDO Doc
2

getObjectById(oid, validate)

Method javax.jdo.PersistenceManager Object getObjectById(   Object oid,   boolean validate ) This method locates a persistent instance in the cache of instances managed by this PersistenceManager. The getObjectById method attempts to find an instance in the cache with the specified JDO identity
JDO Doc
2

getPersistenceManagerFactory(jndiLocation, context)

- the JNDI location containing the PersistenceManagerFactory context - the context in which to find
JDO Doc
2

getPersistenceManagerFactory(jndiLocation, context, loader)

the PersistenceManagerFactory context - the context in which to find the named PersistenceManagerFactory