ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh
16

Dirty checking

to capture all objects that were changed after a commit, i.e: after the transaction has succeeded ... is being called after each object is changed, separately, in the middle of a transaction which might not suceed ... yet in that transaction, and also, the entire transaction could fail. i.e: I'd really like to know
15

How to Use a SF with extended Persistence Context?

Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions ... to the SF I get com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active. In principal The SF doesn't need to begin any transaction since it only get called by
15

OutofMemory error with Object DB 2.0

and inserts 200 records at a time. The transaction obtained from the PersistentManager is commited after persisting 200 records and then the same transaction object from the same PersistentManager is used to begin the transaction. With objectdb 2.x do we need to close the PersistentManager
14

Mismatch client-server protocol prefix

) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit ... the Exception: @Transactional     @Override     public TrackerUser findByName(String username ... other nice exceptions: @Transactional     @Override     public Unit findByName(String unitName
14

Unexpected NoSuchFieldError exception

.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction while another transaction is running. In ... .transact(ObjectDbDatabase.groovy:82) at app.framework.Database$transact.call(Unknown Source) at org ... .call(AbstractCallSite.java:117) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase.groovy:82
3

getSingleResult()

has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.0
3

getResultList()

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException ... execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.0
3

Best practise loading big data

when it came to transactions with lots of entities. We have a scenario in which we need efficient data ... . When do this within one transaction without holding a reference on the retrived entities then we discover ... only workarounds helped to gain a lower memory footprint. One is to stupidly commit the transaction
0

refreshAll()

Method javax.jdo.PersistenceManager void refreshAll() Refresh the state of all applicable instances from the data store. If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed. Since: JDO 1.0 See Also: refresh(Object pc)
0

Constants.JTA

Static Field javax.jdo.Constants String JTA The value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220. Since: JDO 2.1

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