Question

every website I can find seems biased to praised objectdb over hibernate and mysql. Example, http://www.jpab.org/ObjectDB/ObjectDB/server/Hibernate/MySQL/server.html.

Are there any disadvantages to using objectdb instead of hibernate and mysql for java web services? I am of course using JPA.

Was it helpful?

Solution

You mean are there advantages and disadvantages of using an ODBM against an RDBMS ? There are ample refs on the web that address that.

With particular respect to JPA, it is designed around RDBMS syntax, and so it is likely that some query sintaxis will not be fully supported in an object datastore (whether ObjectDB or any other). This may mean that some queries either throw an exception or evaluate in-memory (and that may mean speed). On the other hand it may be quicker at some persistence ops. Obviously you will not get anything like the number of people available who know about that datastore if you have problems, whereas with MySQL there are many thousands.

Also there are many JPA implementations available for persisting to MySQL, and they all have their own advantages and disadvatanges. Hence this questions is way too open ended, and is just going to search for personal opinion rather than anything specific fact based

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top