About embedded

release

2.0.2

... Version 2.0.2 Fixed a bug in queries on embedded objects in C/S mode. Fixed a bug in setting log ...

 
forum_thread

Index on map key

Is there a way to create an Index with @Index on the key of a map? ... But as a workaround you can use a collection of embedded objects, as demonstrated below: package test ; ...

 
issue

JPQL Subqueries (JPA 1.0)

The JPQL (Java Persistence Query Language) supports defining subqueries, which are nested queries that are embedded in other queries. Subqueries are currently not supported by ObjectDB, and as a workaround, you can use a sequence of two or more queries, where the results of one query serves as a parameter in the next queries. ... defining subqueries, which are nested queries that are embedded in other queries. Subqueries are currently not supported by ...

 
forum_thread

Error when I switch to server mode

I was previously using embedded mode without any problem.  Today I tried to switch to server mode, and after connecting and doing some db operations I got this:... I was previously using embedded mode without any problem.  Today I tried to switch to server ...

 
forum_thread

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete. The attachment also contains an update test which has similar memory problems. I'm running both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way to update/remove a large number of objects? ... circumstances but I need a method that can work in both embedded and server based databases (in server mode the database is locked so ...

 
forum_thread

Need disk usage and delete some old files

    Hello , is it possible to get disk usage of database ? If disk usage becomes too high , delete old date files from database. And recalculate disk usage back ?   ... check its size using the length() method. In embedded mode this should be simple. In client-server mode - you can ...

 
forum_thread

explorer feature request: ability to auto refresh

Request for feature: Ability to auto-refresh an explorer view, say at regular intervals of a few seconds. (at a minimum one ought to be able to manually refresh, for example the list of persistent types). additionally, it would be useful to be able to view an embedded database (read only mode) via the explorer.   ... additionally, it would be useful to be able to view an embedded database (read only mode) via the explorer.   ...

 
forum_thread

Client server mode no longer works after JRE install

Hi I had client server mode working with no problems with my application. Then suddenly I was getting the following error "Error: missing 'server' at 'C:\Program Files\Java\jre7\bin\server\jvm.dll' on a client machine. It worked in embedded mode but not client server mode. ... on a client machine. It worked in embedded mode but not client server mode. After investigating I found ...

 
forum_thread

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes. We find the period significant IO costs these days, and disappeared when turn off the batch updating. 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size is nearly 600mb and increasing. ... when turn off the batch updating. 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size ...

 
api-jpa

javax.persistence.metamodel.SingularAttribute

Instances of the type SingularAttribute represents persistent single-valued properties or fields.(Interface of JPA)