ObjectDB Database Search

101-150 of 200 results

Where Does ObjectDB Block/Lock?

on read , is desired, should I use optimistic=true to get more concurrency?   CBE CBE All relevant ... a queue) you will need multiple  PersistenceManager instances. In ObjectDB 1.x pessimistic locks

Database Inconsistency or corruption

. ObjectValue ID:=100, TYPE:=Person, REVISION:=0, isPersisted:=true, LockMode:= PESSIMISTIC _WRITE ... . ObjectValue ID:=100, TYPE:=Person, REVISION:=2, isPersisted:=true, LockMode:= PESSIMISTIC _WRITE

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

Database size is much larger than expected (x2)

.URIReader. read (URIReader.java:84)         at image.URIReader.main ... 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) at image.URIReader. read (URIReader.java:82 ... Your code contains file reading operations that are not related to ObjectDB and may cause the problem

EM close causes an exception

, do you know why? Caused by: com.objectdb.o._PersistenceException: Failed to read from file '/tmp ... .objectdb.o.UserException: Failed to read from file '/tmp/objectdb_2306457094224783100/pages0.dat ... .lang.RuntimeException: Failed to read from file '/tmp/objectdb_9120972825587144595/pages0.dat' '/tmp

Lock prevents PersistenceManager.close when retainValues = false

.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream. read (SocketInputStream.java:171) at java.net.SocketInputStream. read (SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream. read (BufferedInputStream.java:265

Replicated cluster recovery

Currently the slave servers are limited to read only (it is indicated at the beginning of the page ... and read to any node (and maybe such a solution will be included in a future version of ObjectDB ... that when master goes down application can only reads data? And the second question: on which level

Failover from Master to Slave

Garris Hi! You can read more about this here:  https://www.objectdb.com/java/jpa/tool/replication The disadvantage is that slaves can be used just for reading . zmirc Mircea Chirac Hi Z, Thank you for the response. I did read the article about replication which helps with scaling reads

SSL cannot connect from client StackOverflow error

option, which I missed on java client side? I read https://www.objectdb.com/java/jpa/setting/ssl ... /sun.nio.ch.SocketDispatcher.read0(Native Method) at java.base/sun.nio.ch.SocketDispatcher. read ... .implRead(NioSocketImpl.java:309) at java.base/sun.nio.ch.NioSocketImpl. read (NioSocketImpl.java:350

ObjectDB CRUD Examples

Would this be correct?     public List read () { EntityManagerFactory emf ... . support Support The only way to do this one:   public List read () {} Is by using a Query? i.e ... you lines of code. support Support Would this be correct?     public List read

Failed to resize file - file system limitation error

. com.objectdb.o.UserException: Failed to read from file 'C:\Users\CMOORE~1\AppDat a\Local\Temp ... to read from file 'C:\Users\CMOORE~1\AppData\Local\Temp\ objectdb_3126483439234298180\DoctorSection ... is locked for reading Try it a again also when the file is locked for reading /writing. These checks

unable to update table in slave server database

to commit transaction: Attempt to commit a transaction in read only mode[ObjectDB 2.8.2] javax.persistence.RollbackException Failed to commit transaction: Attempt to commit a transaction in read ... ! objdbuser In ObjectDB clusters slave databases are read only (see this documentation page

Setting temp directory location in ObjectDB

.class.getClassLoader()); I read in the ObjectDB website that we can change the temp directory using ... ;system property or ..... I m using fileName.odb file to store the objects and reading objects from ... am using objectDb 1.x. i am able to set the temp folder path. When i try to read the odb.file

zip file or JAR manifest missing

/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. Exception in ... EntityManager em = SingleManager.getEntityManager(); public void read (){   int iCnt = 10;   ... ");   SingleManager.clearDB("URI");   new PageTest(). read (); } } the version 2.2.8_6 can not

Replication Question

availability and fault tolerance? Unless the application is read only and no write, as long as ... ; So basically both read and write will always be going to the master and the load ... , not even read load) - Not for Read +Write failover?   Thank you. Trianglehead Json Error Not

Query only works correctly when debug printing results

I came across a very weird behaviour i cant explain. When trying to read from a local DB (file on pc) the query results are only fully read back when debug printing the result contents before ... part commented out, the result doesnt contain all the data. The field requirementList is read back as null

Unable to execute update query

to do it: [ObjectDB 2.6.5_04] javax.persistence.PersistenceException Failed to read from file '/tmp/objectdb ... .EventDispatchThread.run(EventDispatchThread.java:82) Caused by: com.objectdb.o.UserException: Failed to read from ... (JpaQuery.java:779) ... 39 more [ObjectDB 2.6.5_04] javax.persistence.PersistenceException Failed to read

Which storage fits best to ObjectDB?

is reading /writing the files. The tests are showing that the HW RAID5/6 of HDDs deliver comparable ... files, so in fact it means sequential reads /writes. If it is tested on small files the speed is getting ... ObjectDB read /write the DB files by large chunks and then it parses it within the RAM (so it would mean

Optimistic lock failed

pessimistic exceptions, but it is more efficient to remain with optimistic locking (which is the default

Some technical questions

? Yes, if it has not been locked with pessimistic WRITE. , and will it see the old attribute? Yes

Replaying recorded requests...

it? Another possibility is that your configuration file is not read - you can check it by putting invalid ... is that your configuration file is not read - you can check it by putting invalid content in the configuration ... not being read -  I mangled the tag and get the same behavior, with no exceptions

problem with lazy loading - unittest project attached

4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not ... me to call entityManager.getTransaction().begin()/commit() and i also can not set the isolation to READ

Mismatch client-server protocol prefix

for more than one request, failure to read a full request by the server can cause next requests to fail ... multiple times during the day: com.objectdb.o.InternalException: Error reading UTF string    ... issues about getting this exception in other cases. The "Error reading UTF string" exception

virtual servers and one file

disk storage consists of a RAID5 of 4x 2TB SAS-SSDs and brings a write and read performance of 4 ... JVM heap size is 8GB the process should be able to use 16GB. If you see I/O READ operations ... read activity when the system is warm - you shouldn't if the entire database is cached

NullPointerException in ENH.g(ENH.java:401)

.handleOrphans(Entity.java:170) This happens when I try to read a @OneToMany list collection ... Ritter doppelrittberger Markus Ritter The stack trace indicates an unexpected object type on reading ... to read could be read before without any issues so it seems that the database file gets corrupted

best practice for DB recovery

and have a number of applications connecting to it. I realize that I'm able to stand up read only replications and add them to my persistence unit but being able to read and not write is a condition that can't last ... layer). If after reading the other thread you have a clear picture of how you think ObjectDB

ODB should auto-restart if it detects it's necessary

to read the value of field field xxx.xxx.entity.p2.ExerciseSetResult.rest using reflection at com.objectdb ... .objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:686) at xxx.xxx.extra.ReadWorkoutPlan. read ... . read (ReadWorkoutPlan.java:36) This gave a big headache, and we couldn't get rid

Create simple index for a Id field

fast inserting the elements, but when it comes to read seems like the performance falls. I can understand that reading is a complex task, because you first have to lookup and then retrieve the object ... to perform massive reads ? ksii13 E ObjectDB is faster than other DBMS, not just in writing but also in

Performance Questions...

): Q1: If my whole database is read only, is there a way to exploit this and optimize query ... AlAwad When your database is read only it might be easier to share the same EntityManager by ... . But otherwise read only databases are not faster. Future versions of ObjectDB might share an L1 cache

Occasionally slow requests in load testing

a high load - around 25000 calls to the db per minute. This includes variety of read and update ... because of reading ). The max heap size of the process is set to 8GB and it never goes ... become slower when the disk is busy (including if the disk is busy because of reading ). The number of read

ClassCastException of same object type

when using the csv reading storage classes. I am now trying to abstract the data storage so that different types of storage are possible in order to allow previous data to still be read from csv files ... rather than the plugin classes? cmahony Craig Mahony I have been reading some of the threads in

EntityManagerFactory objects being locked during EntityManager creation

)         at java.net.SocketInputStream. read (SocketInputStream.java:171)         at java.net.SocketInputStream. read (SocketInputStream.java:141)     ... ; at java.io.BufferedInputStream. read (BufferedInputStream.java:345)        

General Performance Issues Illustrated with a Specific Method

the Explorer)? support Support I don't think you even bothered to even read my pos before replying. In ... ) may be the issue. I think there is an issue with the configuration. Can you please advice after reading ... are properly indexed. MOH-SL Ministry of Health Sri Lanka  I don't think you even bothered to even read

objectdb got hang after fetch some record.

(SocketInputStream.java:116) java.net.SocketInputStream. read (SocketInputStream.java:171) java.net.SocketInputStream. read (SocketInputStream.java:141) java.io.BufferedInputStream.fill(BufferedInputStream ... . read (BufferedInputStream.java:345) - locked java.io.BufferedInputStream@294f1aa com.objectdb.o.NTS.n

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

Server out of memory exceptions

.socketRead0(Native Method) at java.net.SocketInputStream. read (SocketInputStream.java:129) at java ... (BufferedInputStream.java:256) at java.io.BufferedInputStream. read (BufferedInputStream.java:313) at com ... . The message size going into the queue is not large - around 4k at most. Each read /write operation

Page cache File handling produced an java.io.IOException: Negative seek offset

  The Exception: Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb ... .PersistenceException Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb ... : com.objectdb.o.UserException: Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb

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 ... ) at cl.intelidata.servlet. Read .actualizaLectura( Read .java:143) at cl.intelidata.servlet. Read .doGet( Read

ObjectDB 2.6.8

Added JPA XML validation schema files to Maven/JEE objectdb.jar. Added automatic release of pessimistic locks on client-server connection failure. Fixed an OptimisticLockException bug on commit after flushing a removed modified entity object. Fixed a  NullPointerExeption on new index building

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.3.2

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

ObjectDB 2.3.1

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

InternalException during producer/consumer scenario

and LockMode set to PESSIMISTIC _WRITE. This results in the exceptions below. Could you advise on the errors

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.

ObjectDB 2.8.5

Fixed a bug in using AS in SELECT NEW (breaks some Spring Data JPA queries). Fixed a bug in tracking changes to new collections after flush ( issue #2640 ). Fixed a StackOverflowError on no access permission to objectdb.conf ( issue #2643 ). Fixed a bug in managing pessimistic locks after using

Can't open replicated database

for a query (just read , no update) but it fails with the error below. The code I'm using is (user & password ... is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in read ... to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ab(SHN

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

/ticket/305) If you are the person who handled this issue but have not read or dealt with that support ticket above, please read it, it is important to understand. It seems with ObjectDB I ... . Note also and please read (and please read external links) if have not already the forum posting

Blocked by find

rbccm.digest.workflow.serialisation.WorkflowSerialiser. read (Unknown Source) rbccm.digest.workflow ... :662) I'm not sure how to read this but it looks like objectdb is blocked in the commit ... .workflow.serialisation.WorkflowSerialiser. read (Unknown Source) at rbccm.digest.workflow

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

of office building data corresponding to ownedElements-owner.   webel Dr Darren Kelly Please read ... you use extended scope EntityManager (have you read #4?). This is not something that ObjectDB or any ... /what-is-the-preferred-design-pattern-for-combining-jpa-ejb-and-jsf-managed-beans Have read : can you please provide (I

Freeze during save

) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream. read (SocketInputStream.java:171) at java.net.SocketInputStream. read (SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream. read