About lock

101-110 of 180Refresh
Forum
2

Replication error on slave restart

" path="." mode="write" /> <locking version-check="true" />     <locking version-check="true ... UP TO DATE] 6) got this on slave after step 3: com.objectdb.o.UserException: Optimistic lock failed
Forum
2

Unable to delete the .odb file programatically

you have to close the PersistenceManagerFactory as well to close the database file (and release the lock ... ){     codeLogger.error(e, e); } return pm;   Code for releasing the lock ... what this thread do. May be, this thread is having the lock and that is the reason, we are unable to delete
Result
2

ObjectDB 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 of entity objects
Issue
2

database corrupt

" />                  <locking version-check="true ... protects against this option by using a file lock (e.g. you probably see an error message when you open the Explorer and the database is open by another process), but respecting this Java file lock
Forum
2

Criteria query error: Unexpected query token

lock */ @Column (name = "opt_lock") @Version() private Long optimisticLock
Forum
2

Entity is not related to ObjectDB, but i get exception from ObjectDB

"/>
Forum
2

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

="." mode="write" />                 <locking version-check="true" />                                 <locking version-check="true" />                
Forum
2

How force always recreate database on redeployment.

the entire database if its file is not locked by Glassfish. See the connection url section in the manual ... for me, sometimes it does not, and I don't know why or under what circumstances, perhaps something gets locked up, I
Forum
2

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
2

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

" />