ObjectDB Database Search
1-50 of 200 resultsfind() cost unreasonable time!, why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type:Nodes, sons:2 child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons:2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 3 | |
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? dreckguy Ophir Haramaty ... \bin\ [err] Failed to find Java VM. and the windows startup error is shown By trying explorer-b ... . so after finding the jar file start everything needed it won't cause a problem but still worth reporting.   | |
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 btc_es BTC EmbeddedSystems You can only find it (using a query | |
find() delay(o); trans.commit();} 2, for 1 to 30 {p = em. find (typeC.class, i); print(p)} So simple a test ... is enabled. support Support L2 cache? I'm not sure. But why the second find () will output? By ... .getResultList(); // this works 3. typeC p = em. find (typeC.class, i); // this p will be null | |
EM.find() is suddenly slower We have a new performance bottleneck, if we use EM. find () on the same entity type 10.000 times in order to get 10.000 different entity instances. For use cases which call the EM. find () only 1000 ... where you can find the hotspot in the profiling. btc_es BTC EmbeddedSystems Thanks. It is unclear | |
Entity can be found by find() but not by query Hello, we create an entity in transaction A, commit and close the transaction. After that in transaction B we try to find the entity in the DB. But we get always only a result with em. find (), with a query it is not always possible to get the entity, sometimes we get the entity | |
What algorithm in find() I test the time cost for find (), obtain a linear complexity with the following codes: int iBlock = 0x10000; for (int i = 1; i | |
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 andrewv Andrew Voumard | |
Query to find object from element of a contained collection I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks. @Entity | |
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", Booking.class) .setParameter("btime | |
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: Exception in | |
How find out ObjectDB version at runtime (in a web app)How find out ObjectDB version at runtime (in a web app) | |
finding post-persist pre-commit objectsfinding post-persist pre-commit objects | |
JPA Runtime Tuning & Configuration defaults for that query. Operation (argument): Settings passed to specific EntityManager operations ( find , lock , and refresh ) override all higher-level defaults for that call. The find ... , RefreshOption . Pass as an argument to lock() , find () , or refresh() . Pessimistic lock scope | |
Retrieving JPA Entities object with a primary key of 1: Employee employee = em. find (Employee.class, 1); You do not need to cast the retrieved object to Employee because find uses generics and returns an instance of the class ... it. If the object is not in the database, find returns null . A similar method, getReference , is a lazy | |
jakarta.persistence.EntityManager of individual entity instances. The client may persist and remove instances, find entities by ... . Some operations of this interface, including the methods lock , refresh , and find , accept ... and vendor-specific options: find and find accept FindOption s, refresh accepts RefreshOption s, and lock | |
Database Management Settings a database and finds a recovery file, which indicates that the database was not closed properly | |
Setting and Tuning of JPA Queries can easily make uncommitted changes visible for simple operations, such as find . However, query | |
Is ObjectDB better than competing object databases? that during development you may find that an essential feature is missing. For example, some competing products | |
JPA Fetch Plan Graphs as a template for a query or find operation, allowing you to override the default fetch strategies | |
Deleting JPA Entities: Employee employee = em. find (Employee.class, 1); em. getTransaction (). begin (); em. remove (employee | |
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 ... :1056) com.objectdb.o.OBC.aK(OBC.java:969) com.objectdb.jpa.EMImpl. find (EMImpl.java:551) - locked | |
Unexpected exception (Error 990) on find.EMImpl. find (EMImpl.java:591) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514) at sun.reflect ... (SharedEntityManagerCreator.java:240) at $Proxy33. find (Unknown Source) at local.jpa.mapping.xmlparsing.RepoEbene1a ... and may be relevant. The exception is thrown during find . What entity key type is used in that find | |
NPE when doing a find() a em. find (User.class, 1). Then this happens: [ObjectDB 2.2.1_02] Unexpected exception (Error ... (OBC.java:912) at com.objectdb.jpa.EMImpl. find (EMImpl.java:534) at com.objectdb.jpa.EMImpl. find | |
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.repositories ... ) ~[na:na] at com.objectdb.o.OBC.aN(OBC.java:987) ~[na:na] at com.objectdb.jpa.EMImpl. find (EMImpl | |
jakarta.persistence.FindOption Jakarta Persistence (JPA) Interface jakarta.persistence.FindOption An option influencing the behavior of EntityManager. find . Built-in options control locking , cache interaction , and timeouts ... Timeout EntityManager. find (Class, Object, FindOption...) EntityManager. find (EntityGraph, Object, FindOption...) Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.CriteriaBuilder ) Create an aggregate expression for finding the greatest of the values (strings, dates ... an aggregate expression for finding the least of the values (strings, dates, etc). Parameters: x | |
jakarta.persistence.LockModeType as an argument to: one of the methods of EntityManager which obtains locks ( lock() , find () , or | |
jakarta.persistence.NamedEntityGraph , and may be passed to EntityManager. find . Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String | |
jakarta.persistence.EntityGraph.addNamedEntityGraph(String, EntityGraph) EntityManager. find (EntityGraph, Object, FindOption...) Since: Jakarta | |
jakarta.persistence.CacheRetrieveMode is read from the database via the EntityManager. find methods and execution of queries. USE indicates | |
EntityManager JPA or JDO impl and different behavior" then everything comes back correctly. However if I use em. find (SomeObject.class, id) the map is NOT populated. I ... , and the only difference I can find is the entityManager thats being used. BUT I can't seem to force the unit test ... . That still doesn't change the fact that in my project the em. find (type, id) doesn't populate | |
Remove an entity which attributes were changed - OptimisticLockException during the operations with one plugin and with multiple plugins and find the exact point ... = 3 on entityA (Type A) and after a find operation on another entityB (Type B) the version changed ... . find (TypeB, uid of TypeB); I don't understand why this operation leads to increase the version | |
Error reading UTF string] at granat.dp.ejb.PersonBeanLocal$$$view177. find (Unknown Source) [DP-domain.jar:] at granat.dp.ejb ... reading UTF string at granat.dp.ejb.PersonBean. find (PersonBean.java:287) [DP-ejb.jar:] at sun.reflect ... .jar:] at com.objectdb.o.OBC.aN(OBC.java:970) [objectdb-jee.jar:] at com.objectdb.jpa.EMImpl. find | |
Query filter comparing Dates(); // these queries should find 1 item assertQueryResultSize(0, pm.newQuery(ClassWithDate.class ... should find 0 item assertQueryResultSize(0, pm.newQuery(ClassWithDate.class, "this.date datum"), date ... now with UTC timezone in Calendar and I get for the following tests : // these queries should find 1 | |
Unable to persist TreeMap.createEntityManager(); p = em. find (Person.class, 1 ... ;will help find the problem in the real application. I'll post what the original problem was when I find it. Your help and quick response was much appreciated. AlphaOne Ron Brennan Application | |
Optimistic locking: prevent version increment on entity collection attribute. find (Document.class, doc.getId()); ArrayList readings = tmpDoc.getReadings ... don't have the cached Document and then find the Document by Id. - At that point the Document ... populate // the collection of Readings myself in the constructor em.clear(); Document tmpDoc = em. find | |
Type xxx is not found (error 301) query execution by using: em. find (User.class, User.class); but this is not ... ? dmoshal David Moshal Am not seeing a method: em. find (class, class), but there is one: em. find (class ... .class ? No - it is merely casting. Am not seeing a method: em. find (class, class), but there is one: em | |
Does ObjectDB support lazy loading?(); a = em. find (A.class, id); System.out.println(a.list); em.close(); emf.close(); } @Entity static class ... , and execute java ... LazyTest persist java ... LazyTest find The find prints out [B(0), B(0 ... ; System.out.println(id); } else if (args[0].equals(" find ")) {   | |
Schema Update: class hierarchy change; em.getTransaction().begin(); MyEntity entityWithID1 = em. find (MyEntity.class, 1 ... entityWithID1 = em. find (MyEntity.class, 1); System.out.println(entityWithID1.id);   ... using reflection (error 363) at com.objectdb.jpa.EMImpl. find (EMImpl.java:630) at com.objectdb.jpa | |
Entity is not related to ObjectDB, but i get exception from ObjectDB Hibernate
When getting this entity from PostgreSQL with the key EntityManager. find (id), we receive ... .AbstractEntityManagerImpl. find (AbstractEntityManagerImpl.java:816) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.ejb.AbstractEntityManagerImpl. find (AbstractEntityManagerImpl | |
LAZY @ManyToOne field functions as EAGER_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager ... , so that the fields are only accessed after the finding entity manager closes, I can still view b.cLazy ... will discuss in another forum posting ] Q: Why is b.cLazy viewable after the finding entity manager closes | |
Bug: ClassCastException by retrieval; tNode tn2 = em. find (tNode.class, 1); System.out.printf(" find instancely : %s %n",tn2 ... tn3 = em. find (tNode.class, 1); System.out.printf(" find by retrieval : %s %n",tn3.getTa | |
ArrayIndexOutOfBoundException(OBC.java:1081) at com.objectdb.o.OBC.aM(OBC.java:999) at com.objectdb.jpa.EMImpl. find (EMImpl.java:591) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514) at com.ysoft.cache.objectdb.ObjectCacheDB ... , it wouldn't be easy to find and fix it. If you can share your test so we will be able | |
[ODB1] Chapter 2 - A Quick Tour. The enhancer did not find the metadata file in which Person is declared as persistent. Therefore, it was not | |
Page cache File handling produced an java.io.IOException: Negative seek offset we get following exception when we execute a find () in a scenario, we can not readjust ... _541100773067300498\pages11.dat' (error 117) at com.objectdb.jpa.EMImpl. find (EMImpl.java:630) at com.objectdb.jpa.EMImpl. find (EMImpl.java:545) at com.btc | |
Inverse OneToMany Mapping and EmbeddedId.hibernate.jpa.boot.internal.PersistenceXmlParser - HHH000318: Could not find any META-INF/persistence ... (fast) find _1_N_1Y() PT19.06S -0.81G/0.68G find _1_N_1Y() PT24.17S -0.13G/0.73G find _1_A_1Y() PT37.456S -0.62G/0.49G find _1_A_1Y() PT46.46S +0.26G/0.90G find _A_1_1D() PT0.392S +0.15G/1.04G main PT2M8 | |
Query on primary key is slow when using 'IN' = '1205450' AND FALSE This query will obviously not find anything, but it still takes 2 minutes to complete ... never find anything, but the scan still happens. This is what I discovered first, and I was hoping ... entityManager. find to look up every entity by the primary key. This ended up being even faster | |
Tracking changes to new collections (in enhancement mode) after flush; entity = em. find (ListInMap.class, id);   ... model save MappingImpl mapping1 = em. find (MappingImpl.class, m1.getUid());   ... (); //------------------------------- mapping1 = em. find (MappingImpl.class, m1.getUid()); mappings = mapping1.mappingMap.get("M | |
ObjectDB needs "insert ignore". However, to check if a specific primary key is in use, you may also use find or getReferemce (see this page ... primary key (see this page ). support Support I've discussed " find () cost unreasonable time!". You'd pointed this " Find is very efficient in retrieving a single entity object but less efficient |