About READ

forum_thread

JPA and handling large data sets

This is not a rellay ObjectDB problem, rather a JPA problem. Our web-based DB supports Hibernate or JPA (ElicpseLink/ObjectDB). We implemented a export/import class to export the whole database or single datasets (domains) in a persistence layer/database independent format. This class works fine - DB exports form a Hibernate/MySQL base via the independent formt to ObjectDB is possible. But exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step by step during the export with the  query/setFirstResult() & setMaxResults().... slow. To avoid memory problems the binary data type is read step by step during the export with the  query/setFirstResult() & ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix Our current settings: Persistence.xml: ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in memory represents the first 40GB of the 800GB on-disk for super-fast recent entry searching, the records at the end continuously purge as the new ones come in(duplicate write, one to in-memory and one to on-disk). ... I've had a quick read through the features/FAQ and haven't been able to find a clear answer. ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

CAP theorem and object DB

Can someone please explain ObjectDB falls into which category of CAP theorem ? C : Consistency, A: Availability , P : Partition Tolerance  Example:  CA ==> SQL Server, Oracle, Sybase, MySQL CP ==> MongoDB, HBase, Redis, MemCache  AP ==> Cassandra, CouchDB, DynamoDB is ObjectDB fall under CA category ? ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

connection pooling

how do you handle connection pooling?  I don't understand how to open and close connection, or reconnect. I've referenced the manual here, but where does this go:   The <connection> element   <connection port="6136" max="100" /> The <connection> element specifies how clients can connect to the server: ... 23:19 I'll read that section carefully, thank you. The connection parameter: ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Problem using Maven Repository - Enitiy Class will be ignored

I found this suspect if i use the maven to download objectdb. <dependency>             <groupId>com.objectdb</groupId>             <artifactId>objectdb</artifactId>             <version>2.6.2</version> </dependency> I got follow Java Warning that tells me that Entity Class will be ignored. ... 2015-06-01 21:30 I read nothing about this issue in the manual.  It should be one ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Licensing

Hello! In some older post "support" wrote: "A single server license is for one activation of one machine and is non transferable.". What if one of our servers or laptops needs to get replaced? Do i have to purchase a new server license? I know that there is a site license but we are only two developers. A site license would be 3 times more expensive than two server licenses. ... licenses. Our production servers are rented. If i read your definition of the site license correctly we have to buy seperate ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

Large query parameter - out of memory

I have an entity object composed of an id, large data in the form of a string and the hashcode of the string as an index. The attached test saves 2000 of these objects, writing the data to a txt file as it goes. It then loops through the data from the file and queries for the entity id based on the data hashcode and the data itself. ... - I believe this should be sufficient as I only create/read one item of data at a time and am only querying for the id. After about ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

exception during online backup

hi   from time to time i get exception during online backup in server/client config: ... thread "Thread-0" com.objectdb.o.UserException: Failed to read from file ... Method) at java.io.RandomAccessFile.read(RandomAccessFile.java:338) at ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at ... java.io.BufferedInputStream.read(BufferedInputStream.java:313) at com.objectdb.o.NTS.z(NTS.java:314) at ... into the queue is not large - around 4k at most. Each read/write operation is done via a new EntityManager which is closed straight ...