ObjectDB Database Search
101-150 of 200 resultsBidirectional 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 | |
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 | |
@OneToMany(fetch = FetchType.LAZY) list is always null when persisting id = parent.getId; parent = find (id); parent.getByteData().getData(); merge(parent); // all is OK when merging with calling the getter of data of byteData parent = find (id); merge(parent ... Parent findParent(int id) { return entityManager. find | |
Extra uninitialised entities spawned on merge(); root = em. find (Element.class, id); //now detached, since outside transaction   ... 'root', persist it, load 'root' again with find () outside a transaction as a detached entity ... it, load 'root' again with find () outside a transaction as a detached entity, then create an Example 'e | |
ODB IndexActivation NullPointerException; - OK But we still need help to find a solution! If you use embedded mode Yes, we use the database in ... you for the update. We will follow your scenario description and try to reproduce the problem and find ... a few screenshots and I hope it help you to find /solve the isse. ODB-IndexActivation thread (id:427 | |
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 | |
New to Product & Having An Issue); } } @Test public void findDepartment(){ Department d = em. find (Department.class ... out with the random UUID strings I generated. However, the second test findDepartment fails to find any | |
newbie - lots of exeptions.internal.api.DelegatingClassLoader@15e8179 was requested to find class com.prohire.agent.entities ... is thrown when ObjectDB tries to scan classes in order to find entity classes and other annotations | |
Memory Leak in EntityManagerFactory ?. If you find that the number of open and close invocations is the same and you still have a memory leak then this may be an issue in ObjectDB. On the other hand, if you find that the call to close | |
How to disable Transparent Update. How to disable Transparent Update. I have done 2 task in a single transaction. 1. Find a entity by a em. find (Class cls,Object o) and change some fields.(not updating) 2. Persist a new entity. But i found the in 1st case the changed value was updated. I have attached the sample program | |
Cannot connect with client they are, since the update of that version was from last year. How do I find out exact I'm running ... to find the full stack trace of the exception in the log file. support Support IC, I am using | |
openejb jpa jaas module = entityManager. find ( UserInfo.class , username ); if(info != null) { String password = info ... (); final Principals principals1 = entityManager. find (Principals.class, principalId); subject.getPrincipals | |
TreeSet and compareTo() issue Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find (): at com.objectdb.o.LDR.z(LDR.java:269) at com.objectdb.o.OBC.aP(OBC.java:1058) at com.objectdb.o.OBC.aN(OBC.java:976) at com.objectdb.jpa.EMImpl. find (EMImpl.java:625) ... 123 more Caused by: java.lang | |
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 | |
InternalException - error reading field from "queue" database.EMImpl. find (EMImpl.java:554) at com.objectdb.jpa.EMImpl. find (EMImpl.java:472) ... 6 more Caused by ... ) at com.objectdb.jpa.EMImpl. find (EMImpl.java:549) ... 7 more Caused by: com.objectdb.o | |
Pessimistic lock timeout - blocks indefinitely HashMap (); properties.put("javax.persistence.lock.timeout", 5000); MyEntity loaded = em. find (MyEntity ... put the find into a loop which catches the LockTimeoutException, puts the thread to sleep, then tries the find again. I'd expect this to achieve the same result as querying with a timeout (albeit | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null(OBC.java:1058) at com.objectdb.o.OBC.aN(OBC.java:976) at com.objectdb.jpa.EMImpl. find (EMImpl.java:625) at com.objectdb.jpa.EMImpl. find (EMImpl.java:545) at ego.Database.findByID(Database.java:79 ... . Example Code: WebReference w = em. find (WebReference.class, 89772) Example Class: public | |
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 | |
queries under 2.7.6_4 significantly slower than under 2.7.6. Unfortunately, although increasing the number of query plans that are examined can usually help in finding ... ) it may help identifying a pattern and finding a solution. If the schema and indexes are the same | |
cannot delete objects after crash (see issue 2283), we had to stop and run the Doctor. Find attached the latest log hgzwicker Hans-Georg Zwicker ... . Could you please post your production objectdb.conf file? support Support find attached our configuration hgzwicker |