Internal Website Search

81-90 of 200 resultsRefresh

Selective merge/cascade of detatched entity

for this approach). All potential changes are checked with application logic before being committed to the database, so a commit will never fail. Any time an object is modified it is checked that the modification would be valid, and then committed. Lets assume I have many Salesmen, and add a new

javax.persistence.RollbackException

/java/jpa/EntityTransaction/commit" title="Method of javax.persistence.EntityTransaction">EntityTransaction.commit() fails. See Also: commit" title="Method

Best practise loading big data

but so far only workarounds helped to gain a lower memory footprint. One is to stupidly commit the transaction after a certain number of read accesses (every 10000 read access to commit and open a new ... defined. Could you please repair the code? You mentioned commit as a workaround

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

> Set DO_FORCE_COMMIT_AFTER_BUILD = false in com.greensoft.objectdb.test.mini.ejb ... and then: Ensure DO_FORCE_COMMIT_AFTER_BUILD = false in com.greensoft.objectdb.test ... ExtConfigBean#DO_BUILD_TWO_PROJECTS}. */ final static boolean DO_FORCE_COMMIT_AFTER_BUILD = false

javax.persistence.EntityManager

> instance may be used serially to begin and commit multiple transactions.

javax.jdo.annotations.Unique

> Whether this unique constraint is deferred until commit. commit. Returns: whether this unique constraint is deferred until commit

setTransactionIsolationLevel(level)

> read-uncommitted read-committed repeatable-read COMMITTED" title="Static Field of javax.jdo.Constants">Constants.TX_READ_COMMITTED

setIsolationLevel(level)

> read-uncommitted read-committed repeatable-read COMMITTED" title="Static Field of javax.jdo.Constants">Constants.TX_READ_COMMITTED

preStore(event)

.flush or commit" title="Method of javax.jdo.Transaction">javax.jdo.Transaction.commit . It is called before the method

postStore(event)

.flush or commit" title="Method of javax.jdo.Transaction">javax.jdo.Transaction.commit . It is called after the field values