Home » Search

About find

11-20 of 200Refresh
Issue
20

Blocked by find

"find" method. If nothing is returned from the db the passed object is persisted to the db. I have 5 ... somewhere in the find. The thread dump looks like: Name: DEV1-WSAgent-1-Existing/3 State: RUNNABLE Total ... .find(EMImpl.java:551) - locked com.objectdb.jdo.PMImpl@ae89a com.objectdb.jpa.EMImpl.find
Forum
20

find() delay

(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test ... cache? I'm not sure. But why the second find() will output? By the way, a query "select e from nodes e ... = em.find(typeC.class, i);  // this p will be null I'm doubting the example in jpab.jar runs twice
Issue
20

Unexpected exception (Error 990) on find

) at com.objectdb.jpa.EMImpl.find(EMImpl.java:591) at com.objectdb.jpa.EMImpl.find(EMImpl.java:514 ... $SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240) at $Proxy33.find(Unknown Source) at local.jpa ... during find. What entity key type is used in that find? Is it String? What is the length of these strings
Issue
19

Sometimes the ObjectDB throws an internal expeption if a find() was executed

Sometimes the ObjectDB throws an internal exception if a find() was executed. It is a sporadic ... ) at com.objectdb.jpa.EMImpl.find(EMImpl.java:607) at com.objectdb.jpa.EMImpl.find(EMImpl.java:519 ... .g(UserException.java:93) at com.objectdb.o.OBC.aN(OBC.java:906) at com.objectdb.jpa.EMImpl.find
Forum
19

Error when trying to open the Explorer (failed to find Java VM)

get this windows error: "Failed to find Java VM".   What is the problem? Have you tried both explorer.exe ... .3\bin\ [info] INI Dir: C:\dbs\objectdb-2.5.3\bin\ [err] Failed to find Java VM.  and the windows ... works as supposed. so after finding the jar file start everything needed it won't cause a problem
Forum
19

find out if an entity is refered by other entities

Hello, it is possible to find out if a child entity is just referenced by other parent entity types. But the types of the parent entities are unknown. Is there a possibility to find out if an entity is referenced? best regards You can only find it (using a query) for a specific relationship
Issue
19

InternalException during EntityManager.find()

.onObjectDBError(OBC.java:1566) ~[na:na] at com.objectdb.jpa.EMImpl.find(EMImpl.java:607) ~[na:na] at com.objectdb.jpa.EMImpl.find(EMImpl.java:519) ~[na:na] at com.btc.ep.expression.dal.internal ... .objectdb.jpa.EMImpl.find(EMImpl.java:599) ~[na:na] ... 45 common frames omitted
Issue
19

NPE when doing a find()

.find(User.class, 1).  Then this happens: [ObjectDB 2.2.1_02] Unexpected exception (Error 990 ... ) at com.objectdb.jpa.EMImpl.find(EMImpl.java:534) at com.objectdb.jpa.EMImpl.find(EMImpl.java:458
Forum
19

What algorithm in find()

I test the time cost for find(), obtain a linear complexity with the following codes:   int ... ();    Node p = em.find(Node.class, i/3);    if (null==p) System.out.printf("Node %d has no parent.%n ... a linear complexity, i.e. O(n). So what algorithm in find()? Can it improved to O(log(n)) complexity
Forum
18

Cannot find objectdb-jee.jar releases in the ObjectDB maven repository

Hi, I can only find objectdb.jar releases in the ObjectDB maven repository. If objectdb-jee.jar releases are there, can you let me know where they are, otherwise would it be possible to include objectdb-jee.jar for the current and future maven releases ? Thanks Andrew   Currently the Maven