About transaction

issue

NullpointerException when execute a commit

Hello, following exception occurs when using objectdb: ... com.objectdb.o.UserException: Failed to commit transaction: Unexpected internal exception at ...

 
api-jpa

javax.persistence.FlushModeType

Flush mode setting.(Enum of JPA)

 
api-jdo

getRetainValues()

If true, at commit time instances retain their field values.(Method of javax.jdo.Transaction)

 
api-jdo

close()

Close this PersistenceManagerFactory.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

getObjectId(pc)

The ObjectId returned by this method represents the JDO identity of the instance.(Method of javax.jdo.PersistenceManager)

 
forum_thread

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     ... This may be because the transaction size is limited by the heap size. You can try deleting these objects in batches, using several transactions, each transaction will delete the results of a query on the LogEntry instances ...

 
api-jdo

setRetainValues(retainValues)

If true, at commit instances retain their values and the instances transition to persistent-nontransactional.(Method of javax.jdo.Transaction)

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... Also appeared using clean DB (with recording from transaction 1) when I restarting slave server. ...and I updated to ... As for "empty master db" case #2: 1) non a single transaction has been made since last test, master has not been restarted ever. ...

 
api-jdo

jdoGetTransactionalObjectId()

Return a copy of the JDO identity associated with this instance.(Method of javax.jdo.spi.PersistenceCapable)

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... loop which blew out the logs: Attempt to commit a transaction after failure in writing to database file ... javax.persistence.PersistenceException Attempt to commit a transaction after failure in writing to database file ... by: com.objectdb.o.UserException: Attempt to commit a transaction after failure in writing to database file ...