Java EE Tutorials (8)-Introduction to the Java Persistence API

Source: Internet
Author: User

8.1 Entity 96
8.1.1 Requirements for entity classes 97
8.1.2 persisted fields and properties in an entity class 97
8.1.3 the primary key of the entity 101
8.1.4 multiplicity in Entity Relationships 103
8.1.5 direction in the entity Relationship 103
Embeddable classes in 8.1.6 entities 105
8.2 Entity Inheritance 106
8.2.1 Abstract Entity 106
8.2.2 Mapping Super Class 106
8.2.3 Non-Entity Super Class 107
8.2.4 Entity Inheritance Mapping Strategy 107
8.3 Managing Entities 109
8.3.1EntityManager Interface 109
8.3.2 Persistence Unit 113
8.4 Querying entities 114
8.5 Database schema Creation 114
8.5.1 Configuring an app to create or delete a database table 115
8.5.2 loading data using SQL Scripts 116
8.6 More information about persistence 116

Java EE Tutorials (8)-Introduction to the Java Persistence API

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.