Home » Search

About commit

111-120 of 200Refresh
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
JDO Doc
2

preClear(event)

during an application call to evict, and in afterCompletion for commit with RetainValues false and rollback
JDO Doc
2

preStore(event)

Method javax.jdo.listener.StoreLifecycleListener void preStore(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called before the method StoreCallback.jdoPreStore
JDO Doc
2

refresh(pc)

store so that a subsequent commit is more likely to succeed. Outside a transaction, this method
JDO Doc
2

setOptimistic(optimistic)

Method javax.jdo.Transaction void setOptimistic(   boolean optimistic ) Optimistic transactions do not hold data store locks until commit time. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: optimistic - the value of the Optimistic flag. Since: JDO 1.0
JDO Doc
2

setRetainValues(retainValues)

Method javax.jdo.Transaction void setRetainValues(   boolean retainValues ) If true, at commit instances retain their values and the instances transition to persistent-nontransactional. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters