ObjectDB Database Search
101-150 of 200 resultsJOD 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 ... : 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 | |
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 | |
Field not persisted in abstract class with two level of nesting; em.getTransaction(). begin (); TZ1 ... (); em.getTransaction(). begin ();   | |
Multi-thread access to single EM's entities; em.getTransaction(). begin ();   ... .getTransaction().commit(); em.getTransaction(). begin ();   | |
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 | |
"where in" query; em.getTransaction(). begin ();   ... ; em.getTransaction(). begin (); for (int i = 0; i | |
client server mod of communication; EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); gtr = new ... .createEntityManager(); em.getTransaction(). begin ();   | |
Cannot sort descending, when ordering by caluculated float in a method; em.getTransaction(). begin ();   ... .getTransaction(). begin (); Invoice i1 = new Invoice(); i1.getItemList().add(new InvoiceItem(1, 2, i1 | |
Issue with orphanRemoval and multiple EntityManagers; em.getTransaction(). begin ();   ... ; em.getTransaction(). begin ();   | |
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 | |
Multiple Collection Fields not update correctly.getTransaction(). begin (); em.merge(myEntity | |
Immediately retrieve unique id The beginning of my "Sample" class looks like: @Entity @SequenceGenerator(name = "sampleSeqGenerator", initialValue = 1, allocationSize = 100) public class Sample implements Serializable { private static final long serialVersionUID = 1L; private String sampleName; @GeneratedValue(strategy | |
problem with lazy loading - unittest project attached me to call entityManager.getTransaction(). begin ()/commit() and i also can not set the isolation to READ | |
Activation Issue a deliberate error (e.g. at the beginning of the file) and try restarting the server. If the server | |
Problem with @UniqueConstraint. createEntityManager (); em. getTransaction (). begin (); CI ci = new CI (); ci.name = "abc" ; em | |
Index on map key; em.getTransaction(). begin (); for (int i = 0; i | |
find() cost unreasonable time!; em.clear(); trans. begin (); } } trans.commit | |
ORDER BY problem, when String starts with language specific character.getTransaction(). begin (); em.persist(new MyEntity("a"));   | |
Error with org.springframework.data.jpa.domain.AbstractPersistable.getTransaction(). begin (); em.persist(new MyEntity());   | |
Problem with distinct select, order by and equivalent alias/attribute path.createEntityManager(); em.getTransaction(). begin | |
EntityManager refresh problem; entityManager.getTransaction(). begin | |
Join query problem with new statetment were from the beginning tagged as @Entity and I don't think it was ever changed. I've changed this query | |
General Performance Issues Illustrated with a Specific Method.getTransaction(). begin (); for (int i = 0; i | |
java.sql.Time field off by 30 minutes; em.getTransaction(). begin ();   | |
Need help to make this test work and define proper annotations for entities Lists.createEntityManager(); em.getTransaction(). begin | |
List of Enum Values in an entity.getTransaction(). begin (); MyEntity entity = new MyEntity();   | |
OneToMany and cascade delete problem of the mapped by side, using refresh : 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 | |
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 | |
Issue with cascade delete & add/remove; em.getTransaction(). begin (); em ... ; em.getTransaction(). begin ();   | |
Merge throw exception "Attempt to reuse an existing primary key value"; final int Id = 0; em.getTransaction(). begin ();   ... (). begin (); em.merge(new MyEntity(Id));   | |
"is not null" queries not working with index; em.getTransaction(). begin (); for (int i = 0; i = 0 or p.bar = 0 or p.bar | |
ArrayIndexOutOfBoundsException on flush = _emf.createEntityManager(); em.getTransaction(). begin (); try { Query query = em.createQuery("DELETE | |
Strange Error with Criteria API and Sorting em.getTransaction(). begin (); OtherEntity o1 = new OtherEntity("Name C");   | |
JDO PersistenceManager.getSequence() returns null sometimes) System.out.println("getSequence 1 returned null"); // it should never be null pm.currentTransaction(). begin | |
NullPointer when accessing persistent field; em.getTransaction(). begin ();   | |
Use temporary files to enable very large transactions an entity: em.getTransaction(). begin (); for (int i = 0; i | |
Eager Fetch of Map with Entities as Keys.createEntityManager(); em.getTransaction(). begin ();   |