ObjectDB ObjectDB

Internal Website Search

61-70 of 87 resultsRefresh
24

Where Does ObjectDB Block/Lock?

) Does it lock at transaction.begin() if optimistic=false? 4) Does it lock at transaction.commit() if optimistic=true? 5) ObjectDB 1.0 Manual (Support > Knowledge Base > ObjectDB 1.0 Manual > 5. JDO ... transactions are preferred." But, newer version 2.6.8_05 ObjectDB defaults optimistic=true, perhaps implying
19

Remove an entity which attributes were changed - OptimisticLockException

the entity from the database. After commit the transaction an exception is caused with optimistic lock ... flushing changes to the database. You may also disable optimistic locking checks if you do not need ... to the optimistic lock exception. But the ObjectDB throws the changes of the entity, if invoking
18

OptimisticLockException

._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version ... here. EDIT: Merge will attach Willks William Optimistic locking is enabled by ObjectDB automatically even if no version field is defined. You can disable optimistic locking checks (and eliminate
3

again merger missing logs + objectdb exception

to remain healthy). It shows that this happens when an optimistic lock exception is thrown during commit ... of optimistic lock exceptions, which should fail regardless of printing their location now to the log. support ... when there is an optimistic lock exception on a large object (>= ~2KB). Assuming you have ObjectDB 2
2

Query in nested transaction returns detached entity if lazy-loaded

= 1) and committed, during the commit an optimistic lock exception is thrown. The version flag ... to commit transaction: Optimistic lock failed for object com.btc.ep.base.bl.internal.entities.mapping ... .java:311) ... 45 more Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed
2

Error during closing an entity manager

and with this one we get an optimistic lock exception without enhancement. If we enhance all entities then the issue does ... changed the exception from the one in #3 above to an optimistic lock exception. More information ... be your priority now. support Support We have found the reason of the optimistic lock exception and we fixed
0

checkConsistency()

to do so. If an optimistic transaction is active, this method obtains a datastore connection and verifies
0

refresh(pc)

Method javax.jdo.PersistenceManager void refresh( Object pc ) Refresh the state of the instance from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data
0

setConnectionFactory2Name(connectionFactoryName)

Method javax.jdo.PersistenceManagerFactory void setConnectionFactory2Name( String connectionFactoryName ) Set the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Parameters
0

setConnectionFactory2(connectionFactory)

Method javax.jdo.PersistenceManagerFactory void setConnectionFactory2( Object connectionFactory ) Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations will support specific

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support