摘要: Need three artifacts to implement a JPA-compliant program:
An entity class
A persistence.xml file
A class through which you will insert, update, or find an entity
JPA is all about data persistence, so let's begin our examination of how it works with the data store design. Assume you have a CUSTOMER table, as in Table 1 below.
阅读全文