About update

issue

Service terminated silently (crashed?)...is there any way to cause a crash dump?

After running without issue, uninterrupted for seven months, our instance stopped silently.  The contents of the log are as follows: Object DB log: ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server started on port 6138.  <--This is where I restarted the service.   Note there is no "Server stopped" before the final "Server started". ... To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Add Type level permissions to ObjectDB Server

It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections. This would be beneficial when providing specific raw data where additional business logic is not required. I suppose you could create transient entities for data that does require additional business logic though. ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Strange behaviour with ORDER BY and IN

Hi, after trying out objectdb for a while now and being quite impressed by its speed and overall performance I noticed a strange behaviour where an ORDER BY - directive isn't executed as it should be (and usually is, except in this special combination-case). ... To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Unexpected Exception

Just got this: ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Left join fetch behaviour doesn't retrieve children?

Hello support, I'm a little bit confused about a left join fetch behaviour. In this test case, i try to fetch my 3 children using a left join fetch. But my collection is null after closing the em. It was expected to be fetched before closing the em, no ? In fact, that is the objective of the fetch purpose (i guess ?). ... To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Lazy loading of mapped by (inverse) singular references

... To post a reply and/or subscribe to update notifications - please login . ...

 
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>). ... To post a reply and/or subscribe to update notifications - please login . ...

 
issue

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

When the following annotation is present on an enum type entity field: @Enumerated(EnumType.STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue has been described in forum post 681 (JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums). See also the attached test case (play with adding and removing the Enumerated annotation). Best regards, and thank you for this great piece of work! ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

NullpointerException when execute a merge

How can we analyze the cause of an "Unexpected internal exception"?   We create an object tree that is persisted with "merge()". Then we want to persist “merge()” an new object of a different type.   [we use ObjectDb 2.6.0_3] ... com.btc.ep.dal.persist.impl.PersistenceService.update(PersistenceService.java:111) at com.btc.ep.base.dal.internal.BaseRepositoryImpl.update(BaseRepositoryImpl.java:95) at ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer.     ... To post a reply and/or subscribe to update notifications - please login . ...