ObjectDB Database Search
51-100 of 200 resultsLevel 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 | |
"Attempt to lock a non entity object" error persistable type has been enhanced: Test Stored: Ron After find and first lock: Ron ... ; p = em. find (Person.class, 1); em.lock(p ... ("After find and first lock: " + p.name); em.getTransaction | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x. Please find the odb file which i am using. I have already pasted the code which is being exeucted to run ... unexpectable for our software release. Please find the database file after repair binitbhaskar Binit ... after conversion and before running the Doctor, otherwise the Doctor cannot help. support Support Please find | |
How to check if an entity exists in a Database without loading it? Hi, I am trying to speed up some code - where i check if an entity exists in order to make a decision. In Java - It looks like this (pk - is the primary key of the entity): MyClass find = em. find (MyClass.class, pk); boolean exists = find != null; Is there a way to check the existence | |
Transaction isolation support? have been unable to find any documentation about how transaction isolation is handled. For example ... different http request) B: Fetch user. (User user=em1. find (User.class,1)). A: Fetch user (User user=em2. find (User.class,1)); B: Create and save a new Book, and add it as a book to the user. B | |
Updating Entities the data in my database. Another reason I don't find this possible is due to the fact that each view ... have "a" solution - though not ideal. I'll let you know what I find next week as my shift ... rather than finding it by exploring objects. support Support From what I can tell the em.clear() suggestion does | |
Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager.EntityManagerWrapper. find (EntityManagerWrapper.java:341) at com.mirq.controller.UserC.findUser(UserC.java ... (EntityManagerWrapper.java:197) at com.sun.enterprise.container.common.impl.EntityManagerWrapper. find ... .sun.enterprise.container.common.impl.EntityManagerWrapper. find (EntityManagerWrapper.java:341) at com | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities successfully (i.e. it loaded) with ObjectDB, I was horrified to find that all of my collection ... manager or the entity manager factory after having detached the entity, the detached entity finds ... . To find any reference to the matter one has to examine the JPA2 spec Final: 7.6 Container-managed | |
pessimistic lock not released on commit.createEntityManager(); em.getTransaction().begin(); if (em. find (MyEntity.class, 1L) == null) { em ... (); System.out.println("Thread A: trying to lock..."); MyEntity e = em. find (MyEntity.class, 1L, LockModeType ... .getTransaction().begin(); System.out.println("Thread B: trying to lock..."); MyEntity e = em. find (MyEntity | |
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 ... ready"); Inspiration be1 = em. find (Inspiration.class, be.getId()); logger.debug("Old inspiration entity ... of object that you want to update. If you ' find ()' object on this EntityManager you will get exactly | |
Unexpected exception (Error 990).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 | |
Dependency from enhanced classes to the objectDB library classes (since ObjectDB cannot find the mapping file). The type of the path field in ProfileImpl ... for us. 3) What would a solution to find the configuration file? The serialization is a required ... ; RequirementsSourceImpl (and forced to use reflection), because at runtime it finds out that RequirementsSourceImpl | |
World database - Changing country ID Sample world DB in ObjectDB Explorer - and couldn't find my country, as it has invalid id ( ez instead of cz ). I changed the id of country to "cz". But when I try to find the country: SELECT c FROM Country c WHERE id = "cz" no results are returned. If i find it by name, I can see ID has changed to cz | |
ObjectDB is opening too many sockets raising until it crashes. I am monitoring TCP connections trough tcpdump, and I did not find any ... of SSLSocketImpl and similar classes (in the 3 hprof files). However, trying to find the GC roots ... hprof files). However, trying to find the GC roots that hold these instances (using Java Virtual VM | |
2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object" on the exact case and on all lower case. This gives me the ability to find the key regardless of case ... to be able to find the object using the String ID (must match exactly), so I make that all lower case (the secondary indexed key) to find the object. When displaying the path, I can use | |
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); // | |
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 | |
again merger missing logs + objectdb exception. Please consider enabling recording . If we cannot find the cause now by analyzing the database ... We will try to find that query hgzwicker Hans-Georg Zwicker The connection between the  ... to find that. What is the id of that large corrupt property object ? hgzwicker Hans-Georg Zwicker The id | |
log entry and massive performance issues', you can find a number of these objects linked to objects with nodePath '/(EL)...' ad 4: we will try ... Hans-Georg Zwicker you can find the database on hummingbird-systems.com, login with user/password ... : the ObjectNode.nodepath is like '/(EL)ANYNAME/(EX)F', you can find a number of these objects linked | |
ObjectDB 2.0.0 and method finding problems. Fixed a bug in the results of IS [NOT] NULL queries. Fixed a bug in ... a bug in the new log based (recording) recovery from failure mechanism. Fixed a bug in finding an entity after a failed find followed by persist. Fixed a memory leakage in eager load of large object | |
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 | |
Best practise loading big data this MyStepBlockCollection sbc = entityManager. find (id); for ( MyStepBlock sb : sbc.stepBlocks) { for ( MyStep ... above: MyStepBlockCollection sbc = entityManager. find (id); for ( MyStepBlock sb : sbc.stepBlocks ... . Or I cannot find them. I would like to start the discussion for an alternative iteration | |
Unexpected error when loading all entity instance Hi, when going through all entity instance to find orphaned entries we get the exception ... and then corrupts it? support Support Hello, I did not find a way to reproduce the error now. It seems there was insufficient memory on the maschine. I will observe the issue and update if I find a way | |
Blocked operation leads to a deadlock) at com.objectdb.jpa.EMImpl. find (EMImpl.java:604) - locked (a com.objectdb.jdo.PMImpl) at com.objectdb.jpa.EMImpl. find (EMImpl.java:524) btc_es BTC EmbeddedSystems This stack trace shows ... version (e.g. 2.9.0). An analysis of this stack trace indicates a situation in which the a find method | |
Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct).objectdb.com/java/jpa/persistence/detach I can't find out how to test where an entity is detached ... the test project to find out why elements become detached (which I assume is breaking the lazy loading ... ; (Detachment) Pages 76 - 77 (Lazy Fetching) I appreciate your help - in addition to finding some | |
missing merger, etc. after this happens. support Support Find attached the log oft he last doctor, regarding ... the errors, we should hopefully be able to find the exact cause and fix it. support Support In ... helped in creating a test and then finding the bug, as it indicates using refresh ). A new build | |
Internal exception on flush = em. find (ExecutionGraph.class, id); if(loadedgraph == null) { em.persist(instance); em.flush ... ) at com.objectdb.o.OBC.aK(OBC.java:969) at com.objectdb.jpa.EMImpl. find (EMImpl.java:551) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer | |
No Entity Class API. For example, a tool that finds and replaces strings in the database should be generic ... database with no original classes: Use the Metamodel API to find details on the entity classes in ... to use. Your suggestion would be much more useful: "a tool that finds and replaces strings in | |
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 |