JPA and Hibernate are ORM solutions? what is the difference between them?
JPA can use Hibernate or any other ORM to work with DB but it also has its own implementation to work with the DB right?
Does JPA provide an common API to talk to any ORM that will work with a DB?
Have a look at the Hibernate EntityManager Library as well. Personally I would prefer using the EntityManager with JPA annotations on Hibernate, instead of using the session-based codes of old day hibernate.