ObjectDB Database Search
51-100 of 200 resultsSchema-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 | |
JOD problems regarding detachCopy()(); try { pm.currentTransaction(). begin (); Query q=pm.newQuery(Boat.class); Collection res=(Collection)q ... = pmf.getPersistenceManager(); try { pm.currentTransaction(). begin (); pm.makePersistent(b_copy); pm | |
Fantom") .createEntityManager() .with { transaction. begin () persist(new Address(street:"Groovy")) transaction.commit ... .with { getTransaction. begin persist(Address {street = "Fantom"}) getTransaction.commit } } } @Entity class | |
Not able to update records surrounding your executeUpdate with em.getTransaction(). begin () to start the transaction and em ... _CLIENTSERVER_MODE); EntityManager em = emFactory.createEntityManager(); em.getTransaction(). begin | |
Embedded Entity in EmbeddedId not persisted. Error 631 at select.; em.getTransaction(). begin (); em ... explicitly: em.getTransaction(). begin (); B b = new B(1); em.persist(b); em.persist(new A(new AId(b | |
objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation = emf.createEntityManager(); em.getTransaction(). begin ... (). begin (); em.persist(project); //rely on Cascade all on ownedElements. The reported error | |
PostUpdate collection null.getTransaction(). begin (); MyEntity e = new MyEntity(1);   ... ; em.getTransaction(). begin ();   | |
Like fails if both underscore and percent are used.createEntityManager(); em.getMetamodel().entity(StringHolder.class); em.getTransaction(). begin ... ()); //DB is empty em.getTransaction(). begin (); em.persist(entry); em.getTransaction().commit | |
ObjectDB Enincompatible with Quarkus? schema: "__odbVersionCrc" in "Film" must not begin with "__", which is reserved by GraphQL introspection ... "Film" must not begin with "__", which is reserved by GraphQL introspection.   | |
pesimistic Lock semantic(); pm1.currentTransaction().setOptimistic(false); pm1.currentTransaction(). begin (); long numOfPictures ... .currentTransaction().setOptimistic(false); pm2.currentTransaction(). begin (); Picture picture2 | |
Problem with Criteria Querys.createEntityManager(); em.getTransaction(). begin (); for (double i=0.0; i | |
Filename.odb$ Persisting Issue) and begin closing the EM's and EMF, no? DragonRulerX Jared Hinze If emf | |
Embedded List; em.getTransaction(). begin ();   | |
CriteriaQuery .where() for multiple conditions person; try { em.getTransaction(). begin (); CriteriaBuilder criteriaBuilder = em.getCriteriaBuilder | |
Bug: ClassCastException by retrieval trans. begin (); tNode tn = new tNode(); tn.setsData("HelloWorld2"); em | |
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 ();   | |
preUpdate-methods are called when there is no change Dear Support Team, we ran into some difficulties with a database. When fetching a entity using the EntityManager and afterwards calling "iterator().next()" a transaction begin /commit will end up in ... (). begin (); connection.getTransaction().commit(); // -- will result in a call of @PreUpdate annotated | |
"is not null" queries not working with index; em.getTransaction(). begin (); for (int i = 0; i = 0 or p.bar = 0 or p.bar |