ObjectDB Database Search

1-50 of 142 results

find() 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

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

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

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.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

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

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 ")) {       

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

Level 2 cache not hit in @ManyToOne

. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field ... each time, even though user 5 has been previously loaded by find by id and its class is @Cacheable

Activation Issue

persistable types (10) - exceeds evaluation limit (error 1011) at com.objectdb.jpa.EMImpl. find (EMImpl.java:556) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) at sun.reflect.GeneratedMethodAccessor34 ... ) at $Proxy37. find (Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persistOrMerge

Is it possible to remove parent/child entities without refresh?

= entityManager. find (ParentEntity.class, Long.valueOf(1));   entityManager.getTransaction().begin ... ; ParentEntity parentEntity = entityManager. find (ParentEntity.class, Long.valueOf(1));   entityManager ... parentEntity = entityManager. find (ParentEntity.class, Long.valueOf(1));   entityManager.getTransaction

Broken @ManyToOne reference

case that demonstrates the problem. support Support You'll find a tiny Eclipse project attached ... should be adjusted:     // Child child = em. find (Child.class, Main.CHILD_ID);   ... .CHILD_ID; template.prn = parent; Child child = em. find (Child.class, template); It does not work

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

; (It helped me find a build order priority issue.  I will also use the technique to put a safety ... to get such messages unless ObjectDB cannot find your entity classes in the classpath. When an entity ... to try to find JdoEntity class explicitly so I can report an error for myself so ObjectDB does not resort

TemporalType injection with Calendar using JPA

=31,ZONE_OFFSET=0,DST_OFFSET=3600000] ]) as a primary key (error 691) at com.objectdb.jpa.EMImpl. find (EMImpl.java:554) at com.objectdb.jpa.EMImpl. find (EMImpl.java:472) ... my JPA findEntity call at sun ... ) at com.objectdb.jpa.EMImpl. find (EMImpl.java:536) ... 43 more Caused by: com.objectdb.o.InternalException

enumeration table? how to on pure jpa?

way... I've looked some other annotations but i could not find any solution like this. kadirbasol ... 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

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

is expected: Exception in thread "main" [ObjectDB 2.2] javax.jdo.JDOUserException Failed to find ... .jdo.JDOUserException Failed to find multiple entities (error 636) The topmost entry of the stack trace ... is the real problem. Could you please check the log files? You may find the complete stack trace

Bidirectional OneToMany is slow on updated items

. Every task run includes: Execution of 10,000 find requests of Person instances. Execution of 10,000 find ... the find calls of Address and Person instances with an in memory HashMap and get calls. support Support

Schema-Update: Rename superclass and remove one subclass

= em. find (ChildClassA.class, 1); entityWithID1.mode = "a"; ChildClassA entityWithID2 = em. find

Import data from MySQL

Hi, I tried the objectdb in my research, find it very easy to handle without setting up xml files. However, I cannot find the import/export functions between other database, then how can I transfer mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases

General Performance Issues Illustrated with a Specific Method

seems broken. Please post it as an attachment. support Support Please find as a text file.   MOH-SL ... of Health Sri Lanka Please find the debug log related to the query. Hope you will attempt to explore

Cast exception?

They...look different, but what should I do? Flying Banana Jiacong Xu Maybe ObjectDB cannot find the class ... " exception is thrown by JPA and not by ObjectDB, so it can be thrown if JPA is loaded but cannot find

Database corrupted after schema change

instances normally (all fields on their place). ObjectDB Doctor did not find on them any mistake. Then I ... via the toString() method). The DB Doctor finds then errors like this in the file: ObjectDB Doctor [version

OneToMany and cascade delete problem

, there is null pointer about not finding offer (which is deleted together with product ... ;  Product p = em. find (Product.class, 54);     em.refresh(p); //

Internal exception in objectdb-2.4.4_17.jar

. find (EMImpl.java:551) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) CalculationServices

Unexpected NoSuchFieldError exception

while another transaction is running. In each case, I've found it difficult to figure out where to find the right documentation. Below is an example that has #1 and #2 together. Additionally it's not clear how I find

enhancement issue

can't find the classes when they are in a jar file??   dmoshal David Moshal To enhance a jar ... . Alternatively you may find build time enhancement or enhancement by an agent (specifying it explicitly with -javaagent explicitly) more suitable. support Support

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

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

ArrayIndexOutOfBoundsException on flush

) so using it would generate various exceptions, but these exceptions cannot help in finding ... is made as follows:     IExecutionGraph loadedgraph = em. find (ExecutionGraph.class ... .aM(OBC.java:1056) at com.objectdb.o.OBC.aK(OBC.java:969) at com.objectdb.jpa.EMImpl. find (EMImpl

combined index not used

Support we are a bit lost, where do we find that list/sequence of query plans ? hgzwicker Hans-Georg ... find attached the log of 2.7 hgzwicker Hans-Georg Zwicker Can you tell if this is the query plan ... .8.3, so the string has to be adjusted. Can you find this query plan in the log file when using 2.8.3

ClassCastException after upgrade to 2.3.5_03

.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.ObjectDbMessagePipe ... ) at com.objectdb.jpa.EMImpl. find (EMImpl.java:551) ... 7 more The class in question is defined as

Eager load Map

so apologies for that. I've attached another go. The main difference here is that I'm using " find " to retrieve ... map is empty so nothing is printed to the console. If you uncomment the 2 lines after the " find ... . javaagent:objectdb.jar) but unenhanced it refuses to work when I use " find " to load the object. I've

Eager Fetch of Map with Entities as Keys

= em. find (MyEntity.class, 1);         em.close();    ... .objectdb.o.OBC.aK(OBC.java:971) at com.objectdb.jpa.EMImpl. find (EMImpl.java:551) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) at T618.main(T618.java:26)   support Support

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

); entityManager.flush(); account = entityManager. find (account); assertNonNull(account.getProjects ... . Particularly the invocation of find in your code does not compile. The following code included an attempt ... ; account = em. find (Account.class, 1);         System.out.println

Exception Failed to read from file

) at com.objectdb.jpa.EMImpl. find (EMImpl.java:596) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514 ... .java:970) at com.objectdb.jpa.EMImpl. find (EMImpl.java:591) ... 10 more Caused by: java.io.EOFException

ClassCastException: com.objectdb.o.SLV cannot be cast to com.objectdb.o.RSV

.OBC.aO(OBC.java:1052) at com.objectdb.o.OBC.aM(OBC.java:970) at com.objectdb.jpa.EMImpl. find (EMImpl.java:591) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514) at com.ysoft.cache.objectdb

Unexpected exception (Error 990) com.objectdb.o.InternalException

;    MyEmbeddable embeddable = em. find (MyEntity.class, 1).embeddable;     ... to the embeddable but free the entity:         List list = em. find

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

().commit();   entityManager.clear();   parentEntity = entityManager. find (ParentEntity ... ;    em.clear();         e = em. find (MyEntity.class, 1l

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

findMomentEntity(Long id) { EntityManager em = getEntityManager(); try { return em. find (MomentEntity.class, id ... (TimePeriod id) { EntityManager em = getEntityManager(); try { return em. find (ChartEntity.class, id

Enum fields are set to null and embeddable enum class does not show in explorer

provide the necessary fix as soon as possible. support Support Please find attached the test case. I ... . Ok, if it only affects the Explorer I could find a work-around. However, I do not understand why in