ObjectDB Database Search

101-150 of 200 results

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

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

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal ... . But you can disable optimistic locking in the server configuration .   support Support read the documentation ... Support I read this before: "Note: In applications that use optimistic locking - it is acceptable

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 Clustering VS Hadoop Hbase

, in which WRITE requests are served by one master server and READ requests can be served by ... data is divided between nodes. All the servers handle WRITE requests and READ requests of data ... , how to define a priory order for visiting a slave than a master? For the reading balance, one may want

Broken @ManyToOne reference

reference written: testobjectdb.Parent@e425743 Parent reference read back: null Regards, Vladimir ... : testobjectdb.Parent@76a9b9c Parent reference read back: testobjectdb.Parent@6ab30913   ... returned: Parent reference written: testobjectdb.Parent@20873723 Parent reference read back: objectdb

Too many persistable types (>10) - exceeds evaluation limit

. At the moment I am trying to read in data written previously with JDO. As I am testing many frameworks ... start reading the data the error occurs. For finding the error I even tried using ... with other technologies using  persistence.xml as well, these file were somehow read in as well (even if they were in

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 ... duplicates, after reading every line I first check using a query, if an entity with that attribute

Transaction isolation support?

: What happens If I am reading data in transaction A, and then transaction B commits while A is reading ... of an object. To avoid using the same object by different users concurrently (even for read

Schema Evolution Question

with the new schema. The application immediately threw errors when trying to read the new schema (before any ... .summaryframework.database.SummaryStagingDatabase:75 It may be worth noting that the table that was being read ... work?  Again, notable - the table (with the old schema) being read by the client using the new

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow ( read is 11 ... ; java -jar demo-0.0.1-SNAPSHOT.jar write /path/to/file.odb - To read data (write):     java -jar demo-0.0.1-SNAPSHOT.jar read /path/to/file.odb   Attached: - JAR file

using DbUnit with ObjectDb

to read via JAXB?? b) Entity driven approach: JPA entity classes are often automatically annotated with JAXB, so writing lists of entities to xml file should be easy - a generic mechanism to read ... .. but, with a few wrapper classes am now reading / writing xml files to / from postgres and ObjectDB

locks on pure query activities

on separate disks you may be able to refer read only queries to replicated slaves. support Support ... it. In addition, we just released a new build (2.7.1_01) that supports concurrent reading from ... :     System.setProperty("objectdb.temp.concurrent-file- read ", "true"); (or using

pesimistic Lock semantic

will be locked for WRITE by pm1 and exception is expected when pm2 tries to read the same object (on  ... ) - the picture will be locked only for READ by pm1 then for READ by pm2 and then both commit would fail

How to Use a SF with extended Persistence Context?

service thread 1-16) JBAS011401: Read persistence.xml for guest-pu 13:52:02,863 INFO  [org ... :03,019 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml

Level 2 cache not hit in @ManyToOne

and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in

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

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

Add Type level permissions to ObjectDB Server

such entity class could be either accessible for READ or for both READ and WRITE. More ideas and feedback ... might be to look at it in terms of CRUD as opposed to READ /WRITE. ThreaT Ashton Hogan

missing merger

.temp.concurrent-file- read ", "true"); by the way, in our application it is not possible that some ... cache that manages all the snapshots. In reading from the file. It would be useful to know ... more In reading from the file. It would be useful to know if the errors are still produced

Error during closing an entity manager

._PersistenceException: Failed to read the value of field field com.btc.ep.architecture.bl.internal.dmos.types ... Here is the full stacktrace: Caused by: com.objectdb.o._PersistenceException: Failed to read the value of field ... ) ~[na:na] ... 7 common frames omitted Caused by: com.objectdb.o.UserException: Failed to read

UTF Error

.InternalException: Error reading UTF string com.objectdb.o.InternalException: Error reading UTF