About array

issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: Bug Version: 2.6.5 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: #1 2014-06-23 17:42 Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System #1 2013-08-05 05:44 Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. ...

 
forum_thread

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the retrieved list are not refreshed according to the latest updates. But, when using the JPQL Query, the list are refreshed. What is the problem? #1 2014-09-27 17:42 When using the CriteriaBuilder to query, the loaded list are not refreshed according to the latest updates. B ...

 
forum_thread

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts with "normal/english" character, records are ordered correctly. But when it starts with language specific character like 'Č', these records are placed after records with normal charaters. So records with 'Č' are after 'Z', but this is not correct, because 'Č' is between 'C' and 'D'. #1 2011-06-23 09:24 Dear all, I have a problem with ORDER BY clause. I have a simple query: SELECT u FROM User ...

 
forum_thread

Degrading performance overtime

hi, We have an application that uses embedded odb database. We have configured odb to start at 50meg chunks and grow at 50 megs a time. as the files become larger between 1 and 2 gigs we start to see considerable degrade in performance caused internal objectdb locking: #1 2012-11-29 14:58 hi, We have an application that uses embedded odb database. We have configured odb to start at 50meg chun ...

 
forum_thread

Unexpected internal exception during set field of an Embeddable to null

Hello, we get an Unexpected internal exception and have no idea what goes wrong. We can reproduce (mostly) the error in a very big use case. In the big use case and we create and persist millions of SignalValueImpl objects (Embeddables). Partly as in the stack trace an Embeddable contain another Embeddable. It seems like that we can't reproduce the problem in smaller use cases with less objects. Stack trace: ... is thrown on an attempt to access a 4th field ([3]) in the array of persistent fields of the  SignalValueImpl embedded class, ...

 
forum_thread

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it using an Extent everything is present. We have a very simple class: public class PositionReportManagerBean implements InstanceCallbacks { private int maxReports; private List<PositionReportBean> reports; } I have a test file with 5 instances of PositionReportManagerBean, each with maxReports set to 10 and 5 PositionReportBeans in reports. I can verify with the ObjectDB explorer that all of the data is there. If I call #1 2011-12-13 23:17 I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it us ...

 
forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. #1 2011-06-18 13:34 I am getting this exception on a regular basis, after a period of time of repeating the same code execution. &nbs ...

 
forum_thread

Saving custom list which implements java.util.List fails

Hi, I'm evaluating ObjectDB for storing Objects modeled with Eclipse Modeling Framework (EMF) and encountered the following problem:   I took the Point-example from the tutorial and added a list-attribute which is declared as java.util.List but the actual Object MyList just extends ArrayList as shown below. #1 2013-03-27 13:39 Hi, I'm evaluating ObjectDB for storing Objects modeled with Eclipse Modeling Framework (EMF) ...