About find

101-110 of 200Refresh
Forum
1

500Mb ObjectDb database opening issue

) so it may be very inaccurate. You will have to find the bottleneck using your runtime environment ... , please find the reason why it works so fast please on your PC, may it be that during your tests ObjectDb ... and maybe with similar configuration. We will still need your help in finding the exact cause
Forum
1

@OneToMany(fetch = FetchType.LAZY) list is always null

); // all is OK when persisting id = parent.getId; parent = find(id); parent.getByteData().getData(); merge(parent); // all is OK when merging with calling the getter of data of byteData parent = find(id ... (); } }     public Parent findParent(int id) {         return entityManager.find(Parent.class, id
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