What is the difference between spring jpa and hibernate?



What is the difference between spring jpa and hibernate?..

Answer / Monika Singh

Spring JPA (Java Persistence API) is a Java specification for accessing, persisting, and managing data between Java objects and a relational or non-relational database. It provides a common, vendor-neutral API to access databases using different ORM frameworks like Hibernate. On the other hand, Hibernate is one of the most popular ORM (Object-Relational Mapping) tools that works with JPA to map Java objects to relational databases and provide database operations in a simple, elegant manner.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is one-to-many association in hibernate?

1 Answers  


What are the best practices that hibernate recommends for persistent classes.

1 Answers  


What different fetching strategies are of hibernate?

1 Answers  


What the identified advantages are of hibernate?

1 Answers  


Why default constructor is required in hibernate?

1 Answers  


What is dtd in hibernate?

1 Answers  


Is hibernate free?

1 Answers  


What is lazy loading hibernate?

1 Answers  


What is unidirectional mapping in hibernate?

1 Answers  


What is many to one mapping in hibernate?

1 Answers  


What is inverse hibernate?

1 Answers  


Can you declare mappings for multiple classes in one mapping file?

1 Answers  


Categories