What is JPA and how is it different from JDBC?


JPA stands for Java Persistence API and represents an API for managing relational data in the application by mapping operations between Java objects and some relational database. The difference from JDBC is that JDBC defines how the client connects to the DBMS, while JPA defines how the data is managed.

0 answers