About new

forum_thread

Specify location of persistence.xml

Is it possible to tell objectdb explicitly where the persistence.xml is located? ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
issue

Resource leaking via a rogue Shutdown Hook

A shutdown hook is registered upon ObjectDB initialisation. The hook is loaded from the web application's class loader. When the application is stopped (not the server, just the application) the hook is not cleared. This leads to web-application class-loader leak, that results in huge resource loss, and eventually in an OOME. Offending class: com.objectdb.o.MSF$1 (anonymous subclass of java.lang.Thread) Name of the Thread/Hook: ODB-FileCloser Thread is registered from the com.objectdb.o.MSF static initialiser (<clinit>). ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
issue

Incorrect entity returned by query

Hello, during the analysis of a bug in our program we found an issue with a query that does not return the expected entity. We have attached the corresponding database. The query is: SELECT dep FROM UsedInDependency AS dep WHERE dep.sheet.uid == '317j' AND dep.source.row.q + dep.source.row.offsetEntry.offset >= 1 AND dep.source.row.q + dep.source.row.offsetEntry.offset <= 1 AND dep.target.row.q + dep.target.row.offsetEntry.offset > 1   ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
forum_thread

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping Tomcat, I get nasty exception - please check attached log. Strange thing is, that after this exception everything works perfectly fine. The problem appears after using Enhancer. The nasty solution is to create copy of @Entity class as normal POJO and use it to store in session. The problem is, that we need the same logic for temporary users (without storing in DB) and permanent users (stored in database). A separate POJO makes the whole logic quite complicated.... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
issue

delete of a collection in explorer changes type

accidently we used the option delete on a collection of type ArrayList<ObjectNode>. On doing so the type changed to List<ObjectNode>. How can we change that back again ? ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
forum_thread

NPE after an @embedded obj is updated for a detached entity

I have an entity that looks like this: class User { @embedded private Profile profile; ...}   After running something like this: User user = entityManager.createQuery("select......entityManager.detach(user);user.getProfile().setDescription("Something...   I get the following error:... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
forum_thread

Database crash

just running objectdb we run into a crash situation as described in the attached log. What can be the reason for such a behaviour ?   ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
forum_thread

Problem with queries on lists with reverse mapping

Hi, In version 2.4.2, when an object in a list is reversed mapped to the owning object, queries are returning objects of types that were not specified in the query.   In the attached example the last test fails because the query returns both TeamA and TeamB objects where only TeamA was specified in query. If the "team" is omitted from the player and targetEntity = Player.class, mappedBy = "team" are removed from Team the query returns the expected result.   ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
issue

Wrong type on SUM function

Hello, I have a problem when I run this aggregation query: ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...

 
issue

Issue with full cross joins

hi, There seems to be an issue with full cross joins & maps. This query: ... a style in the toolbar and then insert the text in the new created block. Avoid overflow of published source code ...