About Metamodel

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. ... instances to the database. I think that invoking Metamodel javax.persistence.metamodel.Metamodel JPA interface Provides access to the metamodel ...

 
api-jpa

getModel()

Return the metamodel entity corresponding to the root.(Method of javax.persistence.criteria.Root)

 
release

2.3.4

... Fixed a NullPointerException  in metamodel with embedded ID ( issue #43 ). Fixed an error ... bug in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId  method to support single ID field . ...

 
release

2.3.5

... Fixed a NullPointerException  in metamodel with embedded ID ( issue #43 ). Fixed an error ... bug in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId  method to support single ID field . ...

 
forum_thread

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: ... Error : Request made to load class or resource [metamodel/PrimitiveValue.jdo] on an ASURLClassLoader instance that has already ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ... URLEntry : ...

 
api-jpa

getModel()

Return the metamodel representation for the map attribute.(Method of javax.persistence.criteria.MapJoin)

 
api-jpa

getAttribute()

Return the metamodel attribute corresponding to the join.(Method of javax.persistence.criteria.Join)

 
api-jpa

getAttribute()

Return the metamodel attribute corresponding to the fetch join.(Method of javax.persistence.criteria.Fetch)

 
api-jpa

getModel()

Return the metamodel representation for the collection attribute.(Method of javax.persistence.criteria.CollectionJoin)

 
release

2.3.3

... Fixed a NullPointerException  in metamodel with embedded ID ( issue #43 ). Fixed an error ... bug in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId  method to support single ID field . ...