About Transaction

71-80 of 200Refresh
Issue
14

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction ... transaction when NontransactionalWrite is disabled: com.fastmodel.fastplan.db.experiments.ErrorTest ... with no active transaction when NontransactionalWrite is disabled: com.fastmodel.fastplan.db.experiments
Forum
14

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction, do the modifications and commit the transaction. I want to have a managed entity that is in sync ... should be updated immediately. How can I get this done? JPA requires using transactions for updating
Forum
14

Is it possible to using JDO and distributed transaction?

I'am new to study JDO. Can and How I use JDO an distributed transaction?(multiple database ... Documentation      JCA, JTA, and JDO Transactions - Using and Understanding Java Data Objects     JDO : Usage of DataNucleus within a JEE environment     ObjectDB supports distributed transactions and JTA
Forum
14

Query for objects persisted within the same transaction

I have a question concerning reading uncommited entities with query, within active transaction. For example, I read data from file. Each line contains value of one of entity's attributes ... and persisted withing current transaction is invisible to future queries in this transaction, unless
Issue
14

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

.Read .doGet (115 ): Failed to commit transaction: Unexpected database state: BTree -152 is not found [ObjectDB 2.5.5] javax.persistence.RollbackException Failed to commit transaction: Unexpected
Issue
14

Inefficient memory usage with very large transactions

When a large transaction is committed, ObjectDB increases some internal structures, i.e. allocates more memory, but from that point the structures remain big and the memory is not released even if all the next transactions are small. This problem was found during a heap analysis (see #9 in
Forum
14

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor ... from the ProjectVersionHistory, so only 20 remained and since then my changing transactions
Issue
14

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... .6.9] javax.persistence.RollbackException Failed to commit transaction: Failed to set numeric value
Forum
14

remove & persist in same transaction => Attempt to reuse an existing primary key value

transaction: first remove additional Data -> The special Entity (with id 1) is empty and we remove ... and then in the same transaction persisting another object with the same primary key of the removed object
JDO Doc
13

javax.jdo.Constants

to specify that transactions are managed by the Java Transactions API, as documented in JSR-220. The value for TransactionType to specify that transactions are managed by the Java Transactions API, as ... .supportedOptions() String OPTION_TRANSACTIONAL_TRANSIENT "javax.jdo.option.TransientTransactional