Home » Search

About commit

71-80 of 200Refresh
JPA Doc
5

javax.persistence.FlushModeType

flushing those entities to the database or by some other means. If FlushModeType.COMMIT is set, the effect ... execution. Since: JPA 1.0 FlushModeType COMMIT Flushing to occur at transaction commit. Flushing to occur at transaction commit. The provider may flush at other times, but is not required to. Since: JPA 1
Forum
5

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
JDO Doc
4

javax.jdo.annotations.Unique

constraint is deferred until commit. Whether this unique constraint is deferred until commit. Returns: whether this unique constraint is deferred until commit Default value: "" Since: JDO 2.1 String
JDO Doc
4

javax.jdo.PersistenceManagerFactory

is thrown. Standard values in order from low to high are: read-uncommitted read-committed repeatable ... See Also: getTransactionIsolationLevel() Constants.TX_READ_UNCOMMITTED Constants.TX_READ_COMMITTED Constants ... .TransactionIsolationLevel.read-committed javax.jdo.option.TransactionIsolationLevel.repeatable-read javax
Issue
4

Best practise loading big data

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 transaction ... is not defined. Could you please repair the code? You mentioned commit as a workaround. It is unclear
Issue
3

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

.1 and then: 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.mini.ejb ... }. */ final static boolean DO_FORCE_COMMIT_AFTER_BUILD = false; @PersistenceContext(type
JDO Doc
3

javax.jdo.annotations.ForeignKey

Whether this foreign key is deferred (constraint is checked only at commit). Whether this foreign key is deferred (constraint is checked only at commit). Returns: whether this foreign key is deferred
JPA Doc
3

javax.persistence.EntityManager

. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns ... the EntityExistsException or another PersistenceException may be thrown at flush or commit time.) IllegalArgumentException
JPA Doc
3

javax.persistence.RollbackException

: Serializable Thrown by the persistence provider when EntityTransaction.commit() fails. Since: JPA 1.0 See Also: javax.persistence.EntityTransaction.commit() RollbackException() Constructs a new
JDO Doc
3

setDetachAllOnCommit(flag)

the cache after commit is defined by the retainValues flag. With this flag set to true ... at commit. Loading fields and unloading fields required by the fetch plan is done after calling