About getting started

forum_thread

Queries are slow on a large database

Hi, I have a 12GB database with 787603 entries. It is much larger than usual and there are performances issues. I am doing small queries and they take much longer than I expect, i.e.: Get the total number of entries Get 25 consecutive entries (i.e. 0-25) Get one specific entry On average each query needs 4 to 5 minutes to return a result. I have been adviced to use indexes but they are already used through the JDO Metadata file. For instance I use this class: ... many Message instances with the same logTestRunId. I started to use different queries and the performances are much better. I will ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... ... To confirm that the values are lost, I started the explorer and searched for the ObjectValue with revision 2 ( ... ov, ObjectValue... ovList) {     // getting transaction     System.out.println("Trying to get ...

 
forum_thread

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost at the connection file path for the persistent factory. So if I want to pass in the database file path, with relative path, where exactly is it relative to? So I did a test and just wrote: EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); But I got: Exception: javax.persistence.PersistenceException Message: No Persistence provider for EntityManager named test.odb ... a database if it doesn't exist already? Just started trying out ObjectDB so sorry if I didn't read the documents ... there some way I can check on runtime? Still getting this: Message: No Persistence provider for EntityManager ...

 
forum_thread

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> ... is a simple project showing the error I've been getting. The unit test shows how when a query is performed on the holder, the ... use Maven it could be very helpful, since it will enable getting into ObjectDB with the debugger (by replacing the objectdb jar with ...

 
forum_thread

Error when trying to open the Explorer (failed to find Java VM)

Hi, I use windows 7 64 bit version. When I'm trying to open the ObjectdB explorer I get this windows error: "Failed to find Java VM".   What is the problem? #1 2013-10-31 10:46 Hi, I use windows 7 64 bit version. When I'm trying to open the ObjectdB explorer I get this ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... be lost, but then I reloaded the webpage a few times and started another "Post Reply" and most of my in-edit posting then reappeared, ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... 07:17 I'm getting replication errors and upon trying to play the replayer I get a ...

 
forum_thread

Spring MVC Errors

I try to import the project from the tutorial but when doing so I get errors: 1. http://i.imgur.com/tbIsj.png and then when I try to start it anyways I get things like thaat: 2. http://i.imgur.com/G7UVu.png any ideas ? I installed m2eclipse plugin and Maven Integration for WTP and then I import Maven project from disk and this is what I get ... ;( #1 2012-08-04 16:54 I try to import the project from the tutorial but when doing so I get errors: 1. http://i.imgur.com/tbI ...

 
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: ... 09:39 I've started to get memory exceptions on objectdb instances running as a server. The ... problems cannot be diagnosed using stack traces. Getting heap dumps should not be so complex. ObjectDB ...

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... "objectdb:myDbFile.tmp;drop" ) ; Getting an empty clean database easily is very useful in tests. However, to ... ) ; } A transaction is started by a call to begin begin() EntityTransaction's method ...