Home » Search

About WRITE

51-60 of 200Refresh
Forum
3

Optimistic locking failure

| B = A + B + 20 | WRITE(B) version=2 value=20 A = A + B + 10 | WRITE(A) version=2 value=10 ... . Please explain the test output: Sequential=true Lock=WRITE Thread[Thread-2,5,main] READ  A1 version=1
Forum
3

Error 363 - Failed to read value of inverse relationship

beforeCompletion() callback: [ObjectDB 2.2.8_01] javax.persistence.PersistenceException Failed to write ... .objectdb.o.UserException: Failed to write the value of field property edu.um.fcsit.jpa.entity.Guest ... : [ObjectDB 2.4.1_07] javax.persistence.PersistenceException Failed to write the value of field
Forum
3

Master database switching to read-only mode, possibly caused by slave failure

- MASTER instance stopped responding to write requests. All requests sent to the database during 3 ... and there was nothing in the server DB logs. All write requests sent to master after this time have failed ... are executed and WRITE requests are rejected. Maybe even the high GC on the slave is the result
Forum
2

best practice for DB recovery

and add them to my persistence unit but being able to read and not write is a condition that can't last ... have two(or more) entity managers in my DAO layer and write all changes to both instances(may have IDs synchronization issues), if one of the instances is not available, I'll keep writing to the instance
JPA Doc
2

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
2

jdoReplaceStateManager(sm)

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

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0
JDO Doc
2

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
2

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
2

writeExternal(out)

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