About find

11-20 of 200Refresh
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
Forum
18

find repeated records by JPQL

Hi, I know a single command in MySQL can find repeated records: Select * from TTT t where id in (select id from TTT s group id having count(id)>1) I dont know how to do this using JPQL, but I use query from 430,000 records and put them into hashmap, finally it cost one hour and failed
Forum
18

Find the error...JPA ENTITY HIBERNATE

Hey guys....i am searching for some days for the problem...Maybe one of you can find the error   DATABASE SHEMA: https://www.file-upload.net/download-12530779/2017-06-0214_25_00-MySQLWorkbench.png.html       Entities:   package com.example.demo; import java.io.Serializable; import java.util
Forum
18

Finding an object by its datetime

SearchBookingByTimeStamp() { Calendar btime = Calendar.getInstance(); btime.set(2012, 10, 11, 7, 30, 00); //This time is already inserted, trying to find it /* My Query */ TypedQuery query = em.createQuery( "SELECT b FROM Booking b WHERE b.btime = :btime