About commit

111-120 of 200Refresh
JPA Doc
2

javax.persistence.OptimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current transaction
JPA Doc
2

javax.persistence.PessimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current
JDO Doc
2

makeNontransactional(pc)

Method javax.jdo.PersistenceManager void makeNontransactional(   Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache
JDO Doc
2

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll(   Collection pcs ) Make a Collection of instances non-transactional after commit. Parameters: pcs - the Collection of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)
JDO Doc
2

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll(   Object... pcs ) Make an array of instances non-transactional after commit. Parameters: pcs - the array of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)
JDO Doc
2

makePersistent(pc)

persistent-new instances (return true to isPersistent, isNew, and isDirty). But at commit time
JDO Doc
2

makeTransactional(pc)

state. At transaction commit, the state of the instance in the cache is compared to the state
Forum
2

Persist error @ManyToMany how to define correct entities relationships

); em.getTransaction().commit(); System.out.println("add product id ... ().commit(); System.out.println("add product id : "+prod.id ... to get it working by using merge when commit fails on persist and using @Generated indexes for both entities
JPA Doc
2

persist(entity)

at flush or commit time.) IllegalArgumentException - if the instance is not an entity
JDO Doc
2

postStore(event)

Method javax.jdo.listener.StoreLifecycleListener void postStore(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called after the field values have been stored. Parameters: event - the store event. Since: JDO 2.0