About Metamodel

forum_thread

Threading Problem (maybe with Criteria)

Hi all I found some threading problems I do not understand: here is the the link to the testcase http://www.advolux.de/weblink%20forum/test.zip ... was missing in the implementation of the JPA metamodel API. Please try build 2.5.2_02 that will hopefully fix this ...

 
forum_thread

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. ... This is related to the way that ObjectDB manages the Metamodel , which involves a connection to the database. In obtaining that ...

 
forum_thread

Spring Data JPA - PersistenceException thrown

In a Spring-managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 EMFs created successfully on startup, but then subsequently when the application is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws the following stacktrace. I've seen a couple of similar posts regarding a NPE when looking for resources, but they seem different enough that they might be a different issue.   ... After a few hours of debugging, I found that the MetaModel is for JPA 1.0 spec. The dependency listed on the maven page ...

 
issue

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven design. The product can be installed in different configurations (in other words with more or less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. ... then at least we tried to open the Database with the first Metamodel and tried to access entities they are not part of the second ...

 
forum_thread

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c.employeeEntity = e) ORDER BY e.name with Hibernate, there was no problem with this query, but ObjectDB throws exception: ... page, sorry about that. I was generating metamodel by myself. I replaced it with "employeeEntity", but the result is the ...

 
api-jpa

javax.persistence.criteria.Subquery

The Subquery interface defines functionality that is specific to subqueries.(Interface of JPA)