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

Future JDO versions?

We are about to release our first product using ObjectDB (as a small embedded store), and soon hope to release a much larger product using ObjectDB (will need an OEM license).  What really interests us is JDO.  We have been using JDO for over a decade and have found it consistently a far better API than JPA, as all kinds of features that are optional or require special extensions in JPA products, (such as large query optimisation, storage of collections of non-entities and automated management of identity) are built-in to JDO.... to release our first product using ObjectDB (as a small embedded store), and soon hope to release a much larger product using ObjectDB ...

 
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 ...

 
manual

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... from the database when the transaction is committed. Embedded objects that are contained in the entity object are also deleted. If ...

 
forum_thread

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb.Server -conf /etc/objectdb/objectdb.conf start it has naturally created and taken ownership of /tmp/ObjectDB. ... to connect to the server rather than attempt to start in embedded mode. i have also tried creating the EMF with the explicit URL. when ...

 
forum_thread

How to query for list of lists ?

Hi, I have a problem with constructing query, that gets only embedded list of integers from Entity. Here's the example : Query query = em.createQuery("SELECT i.filterDescription FROM Inspiration i"); List<List<Integer>> result = query.getResultList(); where Inspiration is like this : ... I have a problem with constructing query, that gets only embedded list of integers from Entity. Here's the example : ...

 
forum_thread

Delete class from DB - through Explorer

Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer, but I couldn't find any. Is there any way for doing that? If not, why? The only way I see right now is to delete the whole db and make a new one, but that's not a good scenario at all when you already have data in the current db. Thanks! ... Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer, but I couldn't find any. ...

 
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

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

Hello, we have a useCase in which we consume too much memory and run into a "GC overhead limit exceeded" exception. Nearly 90% of the memory are taken by com.objectdb.o.PRU (49%) com.objectdb.o.SEV (29%) and com.objectdb.oVAL [] (9%). When debugging, we did not get the reason for the high memory consumption yet. Can you give us any any hints, which leads to the generation of these objects? We assume that we (erroneously) refer to too many entities in the memory. ... problem.   We use version 2.6.9_08 in embedded mode. edit ...

 
forum_thread

_UserException: Attempt to open a database file '...' that is currently in use

I have an application which runs correctly in NetbeansIDE but after building it, it won't just run sometime, the app stop responding to event at a particular point. I was able to reproduce this issue while running the jar file in command line and I got this exception which I have it stack attached here http://i.stack.imgur.com/IH8XZ.jpg ... 2015-06-16 19:10 In embedded mode the database cannot be accessed at the same time by more than one ...