ObjectDB ObjectDB

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

edit
delete
#2

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

ObjectDB Support
edit
delete
#3

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

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.