About @Transactional

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

Unable to execute update query

Hello! I'm trying to do an update query via the explorer to set a new field value for around 400k objects. UPDATE Position p SET p.originalData = null This exception raises when I try to do it: #1 2016-01-28 14:33 Hello! I'm trying to do an update query via the explorer to set a new field value for around 400k obj ...

 
forum_thread

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name of one of these entities. If I execute that query I get an exception;   #1 2011-08-25 12:40 I have two Entities which have the same class name but reside in different packages, only one of them is mentione ...

 
release

2.5.6

Release date: 2014-06-17 Download (5.46 MB) Binary:  objectdb-2.5.6.zip You should start by following a  tutorial or reading the manual ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

In this code: String id = "my key"; itemDb = pm.getObjectById(ABC.class, id); I get this: Bug Version: 2.4.1 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
forum_thread

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity). 1/ I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed that there is one thread (ODB FileWriter) running for each open DB. #1 2015-01-02 20:11 Hi, I am running a java application that records data from 100 feeds into 100 different database - this i ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to add a servlet that manages persistence using JPA and ObjectDB to an Eclipse Web Application. In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  New > Other... > Web > ...

 
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... #1 2012-07-23 07:17 I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i' ...

 
release

2.5.5

Release date: 2014-04-06 Download (5.46 MB) Binary:  objectdb-2.5.5.zip You should start by following a  tutorial or reading the manual ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to add a servlet that manages persistence using JPA and ObjectDB to a NetBeans Web Application. In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Servlet ... Enter ...