Home » Search

About find

101-110 of 200Refresh
Issue
1

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

(); account = entityManager.find(account); assertNonNull(account.getProjects());   Expected Result ... , since the posted code is not runnable. Particularly the invocation of find in your code does not compile ... );         em.flush();         account = em.find(Account.class, 1);         System.out.println(account
Forum
1

Bidirectional OneToMany is slow on updated items

of 10,000 find requests of Person instances. Execution of 10,000 find requests of Address instances ... than the 1st. If you need to improve performance further, consider replacing the find calls of Address
Issue
1

ClassCastException after upgrade to 2.3.5_03

) at com.objectdb.o.OBC.onObjectDBError(OBC.java:1487) at com.objectdb.jpa.EMImpl.find(EMImpl.java:559) at com.objectdb.jpa.EMImpl.find(EMImpl.java:474) at rbccm.felix.objectdb.messaging ... :1058) at com.objectdb.o.OBC.aK(OBC.java:971) at com.objectdb.jpa.EMImpl.find(EMImpl.java:551
Issue
1

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

:1058) at com.objectdb.o.OBC.aN(OBC.java:976) at com.objectdb.jpa.EMImpl.find(EMImpl.java:625) at com.objectdb.jpa.EMImpl.find(EMImpl.java:545) at ego.Database.findByID(Database.java:79) Database ... . Example Code:   WebReference w = em.find(WebReference.class, 89772) Example Class: public @Entity class
Forum
1

Dependency from enhanced classes to the objectDB library

of your projects. Annotations have been added to your entity classes (since ObjectDB cannot find ... for us.   3) What would a solution to find the configuration file? The serialization is a required ... it finds out that RequirementsSourceImpl has a different persistent structure then the persistent
Issue
1

Eager Fetch of Map with Entities as Keys

.close();         em = emf.createEntityManager();         entity = em.find(MyEntity.class, 1 ... .EMImpl.find(EMImpl.java:551) at com.objectdb.jpa.EMImpl.find(EMImpl.java:474) at T618.main(T618.java:26)  
Issue
1

Eager load Map

difference here is that I'm using "find" to retrieve the objects from the database. If you run ... . If you uncomment the 2 lines after the "find" and re-run the test, the map is iterated ... . javaagent:objectdb.jar) but unenhanced it refuses to work when I use "find" to load the object. I've
Forum
1

Entity listener - event instead of object

database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't ... inspiration entity ready"); Inspiration be1 = em.find(Inspiration.class, be.getId()); logger.debug ... getPersistenceManager() hold the new version of object that you want to update. If you 'find()' object
Forum
1

enumeration table? how to on pure jpa?

... I've looked some other annotations but i could not find any solution like this. If you use ... of that class. The key field could also be set as a primary key for fast and simple access by find:     String serverName = em.find(GlobalProperty.class, "serverName").getValue();   Sometimes doing
Issue
1

Exception Failed to read from file

) at com.objectdb.jpa.EMImpl.find(EMImpl.java:596) at com.objectdb.jpa.EMImpl.find(EMImpl.java:514 ... ) at com.objectdb.o.OBC.aM(OBC.java:970) at com.objectdb.jpa.EMImpl.find(EMImpl.java:591) ... 10