ObjectDB Database Search

101-150 of 174 results

Failed to commit transaction: Attempt to commit a rollback only transaction

against the same objects being queried by the other client. Seems like some sort of locking problem ... locking is off dmoshal David Moshal update 1: problem persists if optimistic locking set to true in ... . It is possible that this is some sort of a locking issue. Notice that disabling version check

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

: The process cannot access the file because another process has locked part of the file Normally ... parents). ObjectDB provides some file locking protection, but unfortunately it is incomplete in ... /coreSystemDb__.7z?rlkey=63nr8o89wydf4klpg843a6rf9&dl=0 the problem with the locking arises if we just open

Refreshing a dirty object causes permanent JDOOptimisticVerificationException

, to reduce the chance of an optimistic lock failure.             pm ... ;     // In case of an optimistic lock failure, get the latest version, and loop back to redo ... of an optimistic lock failure. Make changes and commit them. Handle

Redeployment in GlassFish - Failed to open file

database file is kept locked by the old Glassfish application (class loader) because of a missing invocation of EntityManagerFactory 's close  (which should release the database file lock ) by  ... still have the same problem. The difference is that, the file is not locked , however the class loader

Unable to delete the .odb file programatically

the PersistenceManagerFactory as well to close the database file (and release the lock ) . support Support I ... the lock so that database files can be deleted     PersistenceManager pm = getPM ... do. May be, this thread is having the lock and that is the reason, we are unable to delete the odb file. I

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

call to the PersistenceManagerFactory , locking down set/get methods of the Symbol class via java.util.concurrent. locks .ReentrantReadWriteLock locks , and varying the length (number of actions) within a transaction

javax.persistence.LockTimeoutException

Is it possible to change a LockTimeout for pessimistic  lock ? glaz Alexandr Kurucin 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.   support Support

Criteria query error: Unexpected query token

) @GeneratedValue private Long id; /** * Version of object, supporting optimistic lock */ @Column (name = "opt_ lock ") @Version() private Long optimisticLock; /** * Flag to disable entity */ @Column private

How force always recreate database on redeployment.

You should be able to drop the entire database if its file is not locked by Glassfish. See the connection ... for me, sometimes it does not, and I don't know why or under what circumstances, perhaps something gets locked

Occasionally slow requests in load testing

it is the other side of the first stack trace, which locks that monitor. support Support This is not related ... threads (e.g. database pages) is much more extensive so lock competition is more likely

Transaction isolation support?

locking (unless disabled in the configuration). You can use refresh  to get an up to date version ... ) you can use explicit locking . support Support That was not exactly what I meant: Take the following example

ODB IndexActivation NullPointerException

) and then it happens again that we run into a dead lock   Maybe the additional picures ... until its completion (e.g. by using join). support Support We run still into a dead lock . I adding

Deadlock, if two threads try to close an entity manager

to see a deadlock. The profiling info does not include lock and deadlock information.   support ... . Both threads require locks  on both the  EntityManager and the EntityManagerFactory but in

objectdb got hang after fetch some record.

.read(BufferedInputStream.java:345) - locked java.io.BufferedInputStream@294f1aa com.objectdb.o.NTS.n ... .objectdb.o.QRR.i(QRR.java:129) com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:407) - locked com

Failed to resize file - file system limitation error

is locked for reading Try it a again also when the file is locked for reading/writing. These checks

Vs. EHCache

. But if you don't need transactions, lock management, durability and recovery, advanced queries, etc.  - maybe

Password in Embedded Mode?

Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a password.  Thereby making it impossible to use ObjectDB to access the contents of the file without providing the correct password when obtaining a connection.  In my case, I'm

ObjectDB version 2.1 has been released

(included in the download). Added support of disabling optimistic locking exceptions . Added support

Multithreading Test and Deadlock

MBs). support Support Thanks. It solved the dead lock . edy_at_ssn Edy Oey

exception during online backup

cannot access the file because another process has locked a portion of the file at java.io.RandomAccessFile

java.nio.channels.OverlappingFileLockException

Benjamin Lorenz The exception indicates a file locking conflict. In embedded mode the database

Drop the entire database, Change the schema

is not locked - I do this anyway in the tests ...   Thanks.     JFK John Francis Build 2

Explorer in 2.3

: "Attempt to lock a non entity object". The change stays on the screen, but is not persisted

Bulk Delete and Update - best practice?

based databases (in server mode the database is locked so drop can't be used). The only method I've

Embedded & Activation & Scalation

folder, however I've got a few questions I couldn't find answers for: How will locking take place

Trouble bug on explorer

again as shown below:   [ObjectDB 2.4.2] java.lang.IllegalArgumentException Attempt to lock a new (non

Getting exception while executing the Query

I have facing a problem when i am executing the query first time, Please find the stack trace below java.lang.InterruptedException at java.util.concurrent. locks .AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1301) at java.util.concurrent.Semaphore.acquire

Replication error on slave restart

this on slave after step 3: com.objectdb.o.UserException: Optimistic lock failed (see multiple nested

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

? 

Could you please clarify how we could avoid it? This has really locked our work for a couple of days

InternalException during producer/consumer scenario

.lang.InterruptedException at java.util.concurrent. locks .AbstractQueuedSynchronizer ... after that commit might succeed in locking an object that was locked by the committed transaction. Passing null

ObjectDB 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

Error during closing an entity manager

also 2.7.1_03 and with this one we get an optimistic lock exception without enhancement. If we enhance ... ;an optimistic lock exception. More information and possibly a test case that demonstrates the exception ... of the optimistic lock exception and we fixed it in our code. From my sight of view this issue is fixed. btc_es BTC EmbeddedSystems

Query in nested transaction returns detached entity if lazy-loaded

(entity version = 1) and committed, during the commit an optimistic lock exception is thrown. The version ... : Failed to commit transaction: Optimistic lock failed for object com.btc.ep.base.bl.internal.entities ... : com.objectdb.o._OptimisticLockException: Optimistic lock failed for object com.btc.ep.base.bl

Blocked operation leads to a deadlock

) - waiting to lock (a com.objectdb.o.TYM) at com.objectdb.o.TYM.y(TYM.java:791) at com.objectdb.o.MST.ac(MST.java:956) at com.objectdb.o.MST.aj(MST.java:927) - locked (a com.objectdb.o.MST) at com ... ) at com.objectdb.jpa.EMImpl.find(EMImpl.java:604) - locked (a com.objectdb.jdo.PMImpl) at com.objectdb

ObjectDB 2 JDO Manual

however, married to JDO, although I think it's good. Its lack of true (before commit) pessimistic locking ... small for most users, and in some of them JPA is better (e.g. in locking , as you noted). I think

Unexpected error when loading all entity instance

two separate processes)? ObjectDB locks the database file to avoid concurrent access by different processes, but the lock may not be effective on some systems, or in the same process

ObjectDB 2.7.6

lock free Synchronization ( issue #2327 ). Fixed a regression optimistic lock exception bug

database corrupt

two processes. ObjectDB protects against this option by using a file lock (e.g. you probably see an error ... this Java file lock is system dependent and might not work in some systems (e.g. if the file

Entity Version History

ObjectDB manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version number. Naturally, previous values in the entity object that are overridden by new values are discarded. Some applications may benefit from the ability

ObjectDB 2.1.0

Added Online Backup utility ( issue #16 ). Added Master-Slave  Replication / Clustering (issue #17 ). Added a PDF version of the ObjectDB manual (included in the download). Added sample (tutorials) Maven projects (included in the download). Added support of disabling optimistic locking

ObjectDB 2.2.1

Added support for using ObjectDB with JBoss AS 6.0 / 6.1 . Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug . Fixed a bug in using primary key fields in queries. Fixed a bug in queries on deleted objects before commit / flush.

NPE at com.objectdb.jpa.JpaQuery.getResultList

O'Hare It seems as a separate issue. Maybe related to pessimistic locking . Can you provide a test

ObjectDB 2.2.9

a online backup file lock problem . Fixed a bug in managing a new entity after an attempt to find it in

ObjectDB 2.3.1

UnsupportedOperationException  error message. Fixed a pessimistic lock timeout bug ( issue #520 ). Fixed

ObjectDB 2.3.2

instead of Long ) and then updated. Fixed retrieval with pessimistic lock to bypass cache and to force refresh.

EOFException

engine (not using one server process), thus bypassing ObjectDB internal file lock protection

ObjectDB 2.4.0

OPTIMISTIC_FORCE_INCREMENT . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed

javax.jdo.JDONullIdentityException: The identity must not be null.

#2 reflects a locked database file (due to a failure during close) and not a corrupted database

Exception occurs on Linux during commit

. locks .AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1301

ObjectDB 2.6.5

of connections specified in configuration. Fixed optimistic lock exception on removing of a flushed modified