ObjectDB Database Search
51-100 of 200 results"Attempt to lock a non entity object" error; em.getTransaction(). begin (); em.persist(p ... ; em.getTransaction(). begin ();   ... ().rollback(); em.getTransaction(). begin ();   | |
Question about modification; em.getTransaction(). begin ();   ... ; em.getTransaction(). begin ... ; em.getTransaction(). begin ();   | |
Visibility of changes in Transaction is not visible to a JPA QL Query. begin (); SLSBObjDbRemote bean = (SLSBObjDbRemote) context   ... . begin (); SLSBObjDbRemote bean = (SLSBObjDbRemote) context .lookup ... . what was there at the beginning of the transaction as then operated on by the subsequent transactional ops | |
Cannot save or update entity on Spring App = entityManagerFactory.createEntityManager(); if (! em.getTransaction().isActive()) em.getTransaction(). begin (); em ... .getTransaction(). begin (); em.merge(guest); em.getTransaction().commit(); em.flush(); em.clear(); em.close ... .getTransaction(). begin (); Query q = em.createQuery(query); for(String s : map.keySet()) q | |
EntityTransaction.commit() does not release a pessimistic lock"); EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); em.persist(new Account(0 ... .getTransaction(). begin (); Account a1 = em1.find(Account.class, 0, LockModeType.PESSIMISTIC_WRITE); a1 ... (). begin (); Account a2 = em2.find(Account.class, 0, LockModeType.PESSIMISTIC_READ | |
Update more than 10000 entities by an update query fails.createEntityManager(); emOne.getTransaction(). begin (); emOne.setFlushMode(FlushModeType.AUTO ... .createEntityManager(); emTwo.getTransaction(). begin (); emTwo.setFlushMode(FlushModeType.AUTO); { String query ... emThree = emf.createEntityManager(); emThree.getTransaction(). begin (); emThree.setFlushMode | |
Extra uninitialised entities spawned on merge().createEntityManager(); em.getTransaction(). begin ();   ... ; em.getTransaction(). begin ();   ... ; em.getTransaction(). begin ();   | |
Should derived fields of an EmbeddedId be manually maintained by app code?.createEntityManager(); em.getTransaction(). begin (); EContainer container = EContainer.getInstance(em); long begin ... ("Created " + numItems + " in " + (end - begin ) + " milliseconds"); System.err.flush | |
Empty temporary dat files in the temp folder, begin a transaction, do some stuff (find, persist, remove …) and then commit or in the case of errors ... (FlushModeType.AUTO); em.getTransaction(). begin (); MyEntity myEntity = new MyEntity ... .createEntityManager(); em.setFlushMode(FlushModeType.AUTO); em.getTransaction(). begin ();   | |
Refreshing a dirty object causes permanent JDOOptimisticVerificationException; pm.currentTransaction(). begin ();   ... ; pm.currentTransaction(). begin ();   ... ( retrieveEntityAndMakeItDirtyByAccident method). The dirty entity must be refreshed ( beginning | |
Left join fetch behaviour doesn't retrieve children?(). begin (); }   ... .getTransaction().isActive()) { em.getTransaction(). begin (); } MyEntity e1 ... .getTransaction(). begin (); } // Write 100 000 entities with 1 child for each for (int | |
Best setup for huge amount of transactions . this .entityManager. getTransaction (). begin (); this .device ... to begin a new transaction when a transaction is active [PMImpl] at com.objectdb.o ._PersistenceException ... merging transactions, i.e. by calling begin and commit less frequently with updates from | |
Remove not working.getTransaction(). begin (); B b = new B(); b.a = new A(); em.persist(b); em.persist(b.a); em.getTransaction().commit(); em.close(); em = emf.createEntityManager(); em.getTransaction(). begin (); b = em.find(B.class ... a for-each statement. transaction. begin get Extent, traverse its entries, delete an object in | |
Schema-Update: Rename superclass and remove one subclass(); // // Persist an entity em.getTransaction(). begin (); ChildClassA entity1 = new ChildClassA(); entity1.kind ... ().entity(RenamedSuperClass.class); em.getTransaction(). begin (); // do something ChildClassA entityWithID1 | |
persisting object with long[][] arrays of array; emg.getTransaction(). begin (); emg.persist(obj ... ; emg.getTransaction(). begin (); emg.persist(obj);   | |
Problem with byte arrays in JDO - internal exception pm = pmf.getPersistenceManager(); // Clear out existing objects pm.currentTransaction(). begin ... (); pm.currentTransaction(). begin (); Example example1 = new Example(); example1.setId(1); example1 | |
Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01) ); if ( m_EntityManager.isOpen() ) { m_EntityManager.getTransaction(). begin (); for ( Pa3DataKey ... _EntityManager.isOpen() && !m_DataKeysCache.isEmpty() ) { m_EntityManager.getTransaction(). begin | |
Unique contraint with 2 members; em.getTransaction(). begin ();   ... ; em.getTransaction().commit(); em.getTransaction(). begin | |
Storing objects problem.getTransaction(). begin (); for(Device dev : deviceList ... (); em.getTransaction(). begin | |
Does ObjectDB support lazy loading?(). begin (); A a = new A(); a.list = new ArrayList (); a.list.add(new B(1)); a.list.add(new B(2)); em ... ; em.getTransaction(). begin ();   | |
EntityManager getMetamodel() causes crash Point objects in the database: em.getTransaction(). begin (); for (int i = 0; i System.out.println ... ;password=admin;drop" EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); MyEntity | |
ObjectDB CRUD Examples.createEntityManager(); em.getTransaction(). begin (); CriteriaBuilder criteriaBuilder = em.getCriteriaBuilder ... ")); EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); CriteriaBuilder criteriaBuilder | |
Problem with byte arrays in JDO - ClassCastException pm.currentTransaction(). begin ();   ... ().commit(); pm.currentTransaction(). begin ();   | |
Join performance in Objectdb; em.getTransaction(). begin (); for (int i = 0; i ... .getTransaction(). begin (); for (int i = 0; i | |
Catching exceptions from online backup ( ) ; } But it does not work well. For small database files in cases the exception is risen in the beginning ... . That way we would not lose the exceptions in the beginning of the backuping. jakab Gergely | |
Unexpected behaviour upon update. Bug?.createEntityManager(); em.getTransaction(). begin (); Update simple = new Update(); simple.i = 0; simple.v = 3; em.persist(simple); em.getTransaction().commit(); simple.v = 4; em.getTransaction(). begin (); simple = em | |
Internal exception when updating date filed (TemporalType.DATE); entityManager.getTransaction(). begin ();   ... ; entityManager.getTransaction(). begin ();   | |
Merge with Parent/Child entities not possible; entityManager.getTransaction(). begin (); entityManager.persist(parentEntity); parentEntity ... .getTransaction(). begin (); ParentEntity parentEntityNew = new ParentEntity();   | |
Rollback after commit fail Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: Thread 1: try{ EntityManager em = emf.createEntityManager(); em.getTransaction. begin () persist object1 ... { EntityManager em = emf.createEntityManager(); em.getTransaction. begin () persist object2 persist | |
failure to enforce NOT NULL for java.lang.String); //try { tr. begin (); em.persist(r); tr.commit(); //} //catch (...) { } em.close(); emf.close ... .createEntityManager(); em.getTransaction(). begin ();   | |
IN expression in a Criteria Query.createEntityManager(); em.getTransaction(). begin ();   ... .createEntityManager(); em.getTransaction(). begin ();   | |
Unable to persist TreeMap; em.getTransaction(). begin ();   ... ; " value: " + entry.getValue()); } //for em.getTransaction(). begin (); em.persist | |
find() delay Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans. begin (); create typeC o; em.persist(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test ... . My codes, again, are similar to these: 1. trans = em.getTransaction(); trans. begin (); create typeC o; em | |
Persisting collection where members are subclasses"); System.err.println(f.getChildren()); entityManager.getTransaction(). begin (); entryDao.makePersistent(f ... ; em.getTransaction(). begin (); em.persist(f);   | |
multiple LEFT JOINs do not work as expected(); em.getTransaction(). begin ();   ... ( "objectdb:test.tmp;drop"); EntityManager em = emf.createEntityManager(); em.getTransaction(). begin | |
OutofMemory error with Object DB 2.0 PersistentManager is used to begin the transaction. With objectdb 2.x do we need to close the  ... ; transaction. begin ();   | |
java.lang.UnsupportedOperationException(); em.getTransaction(). begin (); for (Object entity : results) em.remove(entity ... (). begin (); em.unwrap(PersistenceManager.class).newQuery(License.class).deletePersistentAll(); em | |
Updating existing persistence entries are identified automatically. Of course, you have to begin and commit a transaction (when SAVE ... you very much, for the explanation. I managed to get it working with beginning a transaction and committing | |
Entity Update - Is the documentation up to date? transaction. If I subsequently begin and commit a transaction, all my changes seem to be merged ... been modifying managed entities from outside an active transaction. If I subsequently begin | |
@Unique member combination not working; em.getTransaction(). begin ();   ... .getTransaction(). begin ();   | |
Cannot catch a PersistenceException and continue the transaction but those don't work for me. Begin a new (nested) transaction in another method that will be rolled back instead of the first one- doesn't work. I got a message that it couldn't begin a new transaction | |
Unexpected exception (Error 990) - Merge with no Transaction; EntityManager em = emf.createEntityManager(); em.getTransaction(). begin ();   ... ; em = emf.createEntityManager(); em.getTransaction(). begin ();   ... beginning a transaction in the last step. But I think this should be allowed. Let me know. Thanks. Carl | |
ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection it will report: Java/JVM version: 1.8 Java/JVM detail version: 1.8.0_74 ObjectDB enhancer: begin ... .."); em.getTransaction(). begin (); em.persist(project); //rely on Cascade all on ownedElements. em ... /JVM detail version: 1.8.0_74 ObjectDB enhancer: begin : (all classes within entity packages): javac | |
stress test -> com.objectdb.o.InternalException: null (with the already deployed app), then the load test begins . It seems to be related on what load I ... ; em1.getTransaction(). begin ();   ... = emf.createEntityManager(); em2.getTransaction(). begin | |
spuriously objectdb objects have null references Object(); public static void begin (EntityManager threadEntityManager){ synchronized(lockBegin){ try { threadEntityManager.getTransaction(). begin (); } catch (Exception e){ } } } ... the reference | |
UPDATE statemen crash when i put the WHERE clause. this. EntityManager em = emf.createEntityManager() ; em.getTransaction(). begin () ; EntityManager updateEm = emf ... (). begin () ; updateEm.createQuery( "update Record as n set n.lab_points=:points where n.student.nume=:nume | |
I can't get cascading delete to work in JDO.currentTransaction(). begin (); persist(pm); pm.currentTransaction().commit(); pm.currentTransaction(). begin ();   | |
Sometimes the ObjectDB throws an internal expeption if a persist() was executed was mistakenly executed on a test machine without ObjectDB lizense. At the beginning of the test ... that we don't see the exception, because at the beginning of our application we add for all entity classes | |
Inverse OneToMany Mapping and EmbeddedId ) . createEntityManager ( ) ; em . getTransaction ( ) . begin ... ( ) . begin ( ) ; em . persist ( new C ( new CId ( ab , 1 ) , 1 | |
Issues with JDO Casting & Full Qualified Names.createEntityManager(); em.getTransaction(). begin (); MyEntity entity = new MyEntity(); entity ... ; em.getTransaction(). begin ();   |