ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
3

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 ... your code but StepBlock is not defined. Could you please repair the code? You mentioned commit as
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 ... NetBeans8.1 and then: Ensure DO_FORCE_COMMIT_AFTER_BUILD = false in com.greensoft.objectdb.test.mini ... }. */ final static boolean DO_FORCE_COMMIT_AFTER_BUILD = false; @PersistenceContext
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
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
0

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
0

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
0

setTransactionIsolationLevel(level)

-uncommitted read-committed repeatable-read snapshot serializable Parameters: level ... _UNCOMMITTED Constants.TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_SERIALIZABLE
0

Unique.deferred

Annotation Element javax.jdo.annotations.Unique String deferred Whether this unique constraint is deferred until commit. Returns: whether this unique constraint is deferred until commit Default value: "" Since: JDO 2.1
0

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
0

setRollbackOnly()

Method javax.jdo.Transaction void setRollbackOnly() Sets the rollback-only status of the transaction to true. After this flag is set to true, the transaction can no longer be committed, and any attempt to commit the transaction will throw JDOFatalDataStoreException. Since: JDO 2.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support