ObjectDB Database Search
101-150 of 200 resultsMulti-thread access to single EM's entities; em.getTransaction(). begin ();   ... .getTransaction().commit(); em.getTransaction(). begin ();   | |
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 | |
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 ();   | |
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 | |
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 | |
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 | |
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 | |
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 | |
Internal exception when updating date filed (TemporalType.DATE); entityManager.getTransaction(). begin ();   ... ; entityManager.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 CRUD Examples.createEntityManager(); em.getTransaction(). begin (); CriteriaBuilder criteriaBuilder = em.getCriteriaBuilder ... ")); EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); CriteriaBuilder criteriaBuilder | |
Field not persisted in abstract class with two level of nesting; em.getTransaction(). begin (); TZ1 ... (); em.getTransaction(). begin ();   | |
PostUpdate collection null.getTransaction(). begin (); MyEntity e = new MyEntity(1);   ... ; em.getTransaction(). begin ();   | |
@Unique member combination not working; em.getTransaction(). begin ();   ... .getTransaction(). begin ();   | |
Merge with Parent/Child entities not possible; entityManager.getTransaction(). begin (); entityManager.persist(parentEntity); parentEntity ... .getTransaction(). begin (); ParentEntity parentEntityNew = new ParentEntity();   | |
Should I be able to persist a JFrame (or gui components in general)?.getTransaction(). begin (); contacts.add(a); em.getTransaction().commit ... : System.out.println(a.pJTextField1.getText()); //did have text when ran em.getTransaction(). begin (); em | |
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 | |
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 | |
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 | |
remove & persist in same transaction => Attempt to reuse an existing primary key value(). begin (); EntityA entity = new EntityA(1); em.persist(entity); em.getTransaction().commit(); System.out.println("load and remove"); em.getTransaction(). begin (); EntityA persitedEntity = em.find | |
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 | |
Problem with byte arrays in JDO - ClassCastException pm.currentTransaction(). begin ();   ... ().commit(); pm.currentTransaction(). 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 | |
client server mod of communication; EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); gtr = new ... .createEntityManager(); em.getTransaction(). begin ();   | |
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.   | |
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 | |
Embedded Entity in EmbeddedId not persisted. Error 631 at select.; em.getTransaction(). begin (); em ... : em.getTransaction(). begin (); B b = new B(1); em.persist(b); em.persist(new A(new AId(b)));   | |
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 | |
mappedBy problem; eml W M Lao To establish the link, you must set the owner side, e.g. em.getTransaction(). begin | |
Running ObjectDB on a node that does not have internet connectivity The package.jdo files already begin with the line: However, after double checking that line, I did | |
@Transient.getTransaction(). begin (); odb.persist(agency); odb | |
Problem with @UniqueConstraint. createEntityManager (); em. getTransaction (). begin (); CI ci = new CI (); ci.name = "abc" ; em | |
Error 363 - Failed to read value of inverse relationship; tr. begin ();   | |
Replicated cluster recovery Currently the slave servers are limited to read only (it is indicated at the beginning of the page | |
Replication error - parsing objectdb config=admin;password=admin"); try { EntityManager masterManager = masterEmf.createEntityManager(); masterManager.getTransaction(). begin (); for (int i = 0; i | |
Entity has be persistended,but query not fetched? = emf.createEntityManager(); em.getTransaction(). begin | |
Insertion Speed Rate and Batch Load; em.getTransaction(). begin (); for (int i = 1; i | |
em.flush(); em.clear(); loosing data and not persisting managed objects Test(); t.doit(); } public void doit() { String sbs = "This is a test String"; em.getTransaction(). begin (); for(int i=0;i | |
problem with lazy loading - unittest project attached me to call entityManager.getTransaction(). begin ()/commit() and i also can not set the isolation to READ | |
how to query by properties of onetomany relations? (Error 990); em.getTransaction(). begin (); Foo foo = new Foo | |
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 | |
Merge throw exception "Attempt to reuse an existing primary key value"; final int Id = 0; em.getTransaction(). begin ();   ... (). begin (); em.merge(new MyEntity(Id));   | |
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 | |
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 | |
spuriously objectdb objects have null references Object(); public static void begin (EntityManager threadEntityManager){ synchronized(lockBegin){ try { threadEntityManager.getTransaction(). begin (); } catch (Exception e){ } } } ... the reference | |
I can't get cascading delete to work in JDO.currentTransaction(). begin (); persist(pm); pm.currentTransaction().commit(); pm.currentTransaction(). begin ();   | |
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 | |
Inverse OneToMany Mapping and EmbeddedId ) . createEntityManager ( ) ; em . getTransaction ( ) . begin ... ( ) . begin ( ) ; em . persist ( new C ( new CId ( ab , 1 ) , 1 |