About reference

issue

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification<Benutzer>() {            @Override ... Hi support, I can't find any reference in documentation and change logs. Are static metamodel classes ...

 
forum_thread

Accessing objects to make them available after EntityManager close?!

Hi, I would like to get all the instances of an entity object. So I wrote a function which returns a list of these instances. My problem is if I print out these instances before closing the em and returning the list, it works as I expected; if not, the function returns only one field correctly, another field is always Null. The details is as follows: #1 2015-02-06 10:57 Hi, I would like to get all the instances of an entity object. So I wrote a function which returns a list ...

 
forum_thread

Problem of Enhancer with JAXB / Proxified Entity Bean.

Hello Support, I run on a prod server an objectdb java agent with my app. In this application, all my entities beans are constructed from a JAXBContext ( SOAP CXF Webservice or Direct JAXB Unmarshalling ) When i watch the objectdb log, i see pages of errors. ... are generated dynamically can be enhanced, if they do not reference a missing class. The error message that you get specifies ...

 
forum_thread

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: #1 2011-05-06 11:55 Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. ...

 
forum_thread

Maven Enhancement with OSGi Plugins

Hello, I've an OSGi environment and try to enhance Classes with Maven as it is described in your tutorials. Now I get ClassNotFoundException's with some entity classes, which contains enums from other plugins. Is there a way to include classes in enhancement process? Thanks for your help. ... enhancement have to be ready for load by the JVM. If they reference other classes, these other classes must also be available in the ...

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... we have very good reasons, including being able to easily reference the "deep" value in an expert system.) --- Webel ...

 
api-jdo

javax.jdo.FetchPlan

Fetch groups are activated using methods on this interface.(Interface of JDO)

 
forum_thread

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

We persisted many entities in a transaction, unfortunately the heap reached its limit at any time although the flush and the GC were invoked regularly. The attachments show the memory heap dump of the biggest consumer. Which objects you would actually expect to remove by the garbage collector? Why the option objectdb.temp.page-file does not perform?   Options: <temp path="$temp" threshold="512mb" /> #1 2016-02-18 07:48 We persisted many entities in a transaction, unfortunately the heap reached its limit at any time although the fl ...

 
forum_thread

"Failed to serialize instance" of Set problem

Hi, I'm trying to persists objects defined as follows: @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public abstract class AbstractContainer { ...   @OneToMany(fetch = FetchType.LAZY, mappedBy="parent")   private Set<AbstractContainer> abstractContainers = com.google.common.collect.Sets.newIdentityHashSet(); } Got the following exception: ... using ordinary Java serialization ignoring the @OneToMany reference :-( Regards, Vladimir ...

 
forum_thread

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

Hi, I came across an error - but i have not been able to create a simple reproducible case - the error does not happen often and does not happen always -  Let me explain: 1/ I run 5 java applications at the same time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT bk FROM OBN bk ORDER BY bk.time ASC", OBN); ) 2/ after a little while - some of the applications throws this error message: #1 2015-02-11 03:52 Hi, I came across an error - but i have not been able to create a simple reproducible case - the error do ...