About projection

forum_thread

Tomcat + JPA Problem

Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package   #1 2011-03-07 19:06 Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: ...

 
page

ObjectDB License

ObjectDB Purchase and License info page. ObjectDB can be downloaded and used at no cost (including commercially) with the restriction of a maximum of  10 entity classes and one million entity objects per database file. This could be useful for small projects, academ ...

 
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 JPA Feature Version: 2.4.1 Priority: Normal Status: Active Replies: 5 Type:  JPA Feature ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. Bug Version: 2.5.5 Priority: Critical Status: Fixed Replies: 19 Type:  Bug ...

 
forum_thread

ODB with Netbeans

ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, with attributes like this: @Entity class A { public String name; } I get compile time errors "Instance variable for persistent attribute must not be public" How does one switch that off in Netbeans? #1 2010-11-22 07:40 ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, w ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: #1 2015-06-17 16:02 Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange prob ...

 
forum_thread

Removing entity class

Hello, I am using evaluation version of ObjectDB for long term private project. Recently I hit the 10 entities limit and got exception: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit Among the 10 entities in the project there are 2 entities I added long time ago and they were never really used. I deleted them from Java source code, but there are still in ObjectDB database. The 2 tables for these entities are empty, but the tables exist, so they count into 10 entities limit. #1 2014-06-02 19:50 Hello, I am using evaluation version of ObjectDB for long term private project. Recently I hit the 10 ent ...

 
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 #1 2016-02-12 01:19 objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode:& ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database. The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context se ...

 
forum_thread

"No Persistence provider for EntityManager" in OSGI bundle.

Good Day. I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB. Essentially it builds an OSGI bundle with an embedded instance of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below error. #1 2011-11-10 14:31 Good Day. I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB. Essent ...