What is a JPA implementation?

后端 未结 5 1391
一生所求
一生所求 2020-12-04 13:35

I\'m getting started with JPA, and I\'m confused as to what exactly the JPA implementation(EclipseLink, TopLink, Hibernate, etc.) does.

I understand the theoretica

5条回答
  •  悲&欢浪女
    2020-12-04 14:00

    JPA itself is just a specification, not a product; it cannot perform persistence or anything else by itself. JPA is just a set of interfaces, and requires an implementation. There are open-source and commercial JPA implementations to choose from and any Java EE 5 application server should provide support for its use. JPA also requires a database to persist to.

提交回复
热议问题