ObjectDB Database Search

1-11 of 11 results

jakarta.persistence.EntityManager.getReference(Class,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T getReference (    Class entityClass ,    Object primaryKey ) Obtain a reference to an instance ... the EntityNotFoundException when getReference () is called.) This operation allows the application to create

jakarta.persistence.EntityManager.getReference(T)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T getReference (    T entity ) Obtain a reference to an instance of the entity class of the given object ... when getReference () is called.) This operation allows the application to create an association

Retrieving JPA Entities

it. If the object is not in the database, find returns null . A similar method, getReference , is a lazy version of find : Employee employee = em. getReference (Employee.class, 1); The getReference method ... , getReference might return a hollow object instead of querying the database immediately. It never returns null

JPA Exceptions

. This commonly occurs during EntityManager.refresh or EntityManager. getReference calls. Concurrency

jakarta.persistence.EntityManager

getReference ( Class entityClass , Object primaryKey ) Obtain a reference to an instance of the given entity ... the EntityNotFoundException when getReference () is called.) This operation allows the application to create ... (JPA) 1.0 T getReference ( T entity ) Obtain a reference to an instance of the entity class

jakarta.persistence.EntityNotFoundException

by the persistence provider when an entity reference obtained by EntityManager. getReference ... . getReference (Class,Object) EntityManager.refresh(Object) EntityManager.refresh(Object, LockModeType

How to Use a SF with extended Persistence Context?

to instantiate component view at org.jboss.as.ee.component.ViewManagedReferenceFactory. getReference ... :7.1.1.Final] at org.jboss.as.ee.component.ViewManagedReferenceFactory. getReference ... . getReference (ViewManagedReferenceFactory.java:52) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at org

Searching lists within objects

to use isMember I have to use: Attribute attributeLastName = em. getReference (Attribute.class

Persist error @ManyToMany how to define correct entities relationships

instances (possibly using em. getReference ) rather than create new Category instances

ObjectDB fast queries

objects (by ids) from EntityManager. getReference . One  more point. Moving  byte[] picture

ObjectDB needs "insert ignore"

that operation, so find is expected to be a bit faster in that case (and check also getReference