About find

61-70 of 200Refresh
JPA Doc
2

greatest(x)

Method javax.persistence.criteria.CriteriaBuilder Expression greatest(   Expression x ) Create an aggregate expression for finding the greatest of the values (strings, dates, etc). Parameters: x - expression representing input value to greatest operation Returns: greatest expression Since: JPA 2.0
JDO Doc
2

javax.jdo.PersistenceManager

of instances managed by this PersistenceManager. The getObjectById method attempts to find
JDO Doc
2

javax.jdo.spi.JDOImplHelper

it. If not, try to find a constructor for the class with a single String argument. Otherwise, throw
JPA Doc
2

javax.persistence.CacheRetrieveMode

property to specify the behavior when data is retrieved by the find methods and by queries. Since: JPA 2
JPA Doc
2

javax.persistence.LockModeType

.persistence.EntityManager methods that take locks ( lock, find, or refresh) or to the Query
JPA Doc
2

least(x)

Method javax.persistence.criteria.CriteriaBuilder Expression least(   Expression x ) Create an aggregate expression for finding the least of the values (strings, dates, etc). Parameters: x - expression representing input value to least operation Returns: least expression Since: JPA 2.0
JDO Doc
2

setMapping(mapping)

Method javax.jdo.PersistenceManagerFactory void setMapping(   String mapping ) Set the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Parameters: mapping - the Mapping setting. Since: JDO 1.0
Forum
2

EntityManager JPA or JDO impl and different behavior

. However if I use em.find(SomeObject.class, id) the map is NOT populated. I created a simple test to demonstrate this, however in the simple test it all works fine, and the only difference I can find ... . That still doesn't change the fact that in my project the em.find(type, id) doesn't populate the nested map
Issue
2

NullPointer on query

well (see below). Interestingly the exception is thrown from the find method rather than the query. The application is set to try find and then revert to query is null is returned - this is legacy from when I had some ... are thrown on the original persist/commit. Full code is: ObjectDbMessagePayload payload = em.find
Forum
2

Remove an entity which attributes were changed - OptimisticLockException

plugins and find the exact point of difference between these two modes. I have found the problem. Our entity had the version = 3 on entityA (Type A) and after a find operation on another entityB (Type B ... = getEntityManager(); entityB = em.find(TypeB, uid of TypeB); I don't understand why this operation leads