I need to persist my application data and also access a legacy RDBMS system in the same Java application. Currently I use Hibernate for both purposes.
I've heard ObjectDB is much faster than Hibernate, so I want to try the it to deal with my application data, but I still need some ORM system to access RDBMS.
Is it possible to use both ObjectDB and Hibernate in the same application? Both of the product include its own copy of javax.persistence.XXX packages. I wonder if they will clash. How can I explicitly select persistence provider?