Tuesday, September 2, 2014

Java Persistence API

JPA is Java Persistence API used by JEE and J2SE applications to access the RDBMS databases.
This is true only upto JPA 2.1 version.
If you want to access NoSQL databases like MongoDB or Oracle NoSQL database from java application then you will have to go for EclipseLink JPA 2.4 or Hibernate Object Mapping for NoSQL datastores.
Hibernate for nosql and Hibernate for sql that is normal JPA are two different things. You can directly use APIs provided by the nosql database vendor like MongoDB. The main advantage of using the EclipseLinkJPA 2.4 is your application will be configuration as opposed to when using directly using nosql database APIs.


No comments: