Home » Support » Forum » Retrieving Metamodel without connection

Retrieving Metamodel without connection

#1

Hello!

I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat.

Other JPA providers are able to fetch the Metamodel without connecting to the DB.
I would appreciate it very much if you could change this behaviour in some future version of ObjectDB.

Regards Ralph

#2

This is a good idea. A new feature request was added accordingly.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

The behavior was changed following your suggestion in build 2.4.3_05.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

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