Home » Search

About PESSIMISTIC_WRITE

91-100 of 200Refresh
JPA Doc
1

commit()

Method javax.persistence.EntityTransaction void commit() Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0
JDO Doc
1

jdoReplaceStateManager(sm)

, then the jdoFlags field will be reset to READ_WRITE_OK. If the parameter is not null, and the security
JDO Doc
1

PersistenceCapable.CHECK_READ

Static Field javax.jdo.spi.PersistenceCapable byte CHECK_READ If jdoFieldFlags for a field includes CHECK_READ, then the field has been enhanced to call the jdoStateManager on read if the jdoFlags setting is not READ_OK or READ_WRITE_OK. Since: JDO 1.0
JDO Doc
1

PersistenceCapable.LOAD_REQUIRED

Static Field javax.jdo.spi.PersistenceCapable byte LOAD_REQUIRED If jdoFlags is set to LOAD_REQUIRED, then the fields in the default fetch group cannot be accessed for read or write without notifying the StateManager. Since: JDO 1.0
JDO Doc
1

writeExternal(out)

Method javax.jdo.identity.SingleFieldIdentity void writeExternal(   ObjectOutput out ) Write to the output stream. Parameters: out - the stream Since: JDO 1.0
Issue
1

Server out of memory exceptions

read/write operation is done via a new EntityManager which is closed straight ... for each database). Each thread should read or write 10 msgs and then exit. When all threads have exited ... ... The attached test (testObjectDbPipe) has 10 threads which write msgs to database "test1" and 5
Result
1

ObjectDB version 2.2.4

Version 2.2.4 Added support of JPA UPDATE and DELETE queries (issue #12). Added support of pessimistic lock timeout (javax.persistence.lock.timeout). Added implementation of the getParameters method. Added exception on pessimistic locking retrieval with no active transaction. Improved support
Forum
1

javax.persistence.LockTimeoutException

Is it possible to change a LockTimeout for pessimistic lock? Currently ObjectDB throws a LockTimeoutException immediately when a pessimistic lock cannot be granted. Future versions will support timeout setting. You may fill a feature request to increase the priority of this feature.   glaz
Forum
0

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

="." mode="write" />                                 WRITE_DATA_TO_DATABASE = false ... ) {   if (WRITE_DATA_TO_DATABASE) {    em.getTransaction().begin();    for (int i = 0; i < 1000; i
Forum
0

Setting temp directory location in ObjectDB

with no permission to write to the parent directory. can you please elaborate what exactly "Try running ObjectDB in a process with no permission to write to the parent directory". I did not undertand ... have file handler so that i can do anything. Can you please let me know how to do this. And if write