About PESSIMISTIC_READ

91-100 of 200Refresh
Tutorial
3

Step 4: Run the Application

of the database file by opening it in the ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Forum
2

Optimistic locking: prevent version increment on entity collection attribute

the application (web app), I create the readings in one call and I try to read them in another call. I checked the database and all the entities are created (document and readings) but when I try to get the collection of readings null is returned. I have tried to clear the entity manager in the second
JDO Doc
2

javax.jdo.Transaction

getNontransactionalRead() If true, allows persistent instances to be read without a transaction active. If true, allows persistent instances to be read without a transaction active. Returns: the value ... of low to high are: read-uncommitted read-committed repeatable-read snapshot serializable Parameters
Forum
2

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from ... (),       LockModeType.PESSIMISTIC_WRITE); . . } //doEdit ... );         em.lock(p, LockModeType.PESSIMISTIC_WRITE);         System.out.println("After find
Forum
2

OptimisticLockException

. Also have the Explorer open Questions: a) what is it about? b) is there a setting for pessimistic mode? In my app, I ... is available in the manual. I guess I should read doco more. I ran into the same error from a pessimistically locked entity (global tracking id generator, specific to internal requirement) - and got
JPA Doc
2

getResultList()

- if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic
JPA Doc
2

getResultList()

- 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
JPA Doc
2

getSingleResult()

mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
2

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
JPA Doc
2

javax.persistence.CacheStoreMode

the behavior when data is read from the database and when data is committed into the database ... /update entity data into cache when read from database and when committed into database. Insert/update entity data into cache when read from database and when committed into database. Forces refresh