Java-Persistence-Hibernate-2ndEndition
Source-1. Billing System:
-
Model: (Inital step of the book explanation)
Figure 3.3 Persistent classes of the CaveatEmptor domain model and their relationships
Important terminology in forward to improvement
-
CRUD (create, read, update, delete) operations
-
Object/relational mapping (ORM)
-
Java Persistence API (JPA)
-
Object persistence - means individual objects can outlive the application process; they can be saved to a data store and be re-created at a later point in time
-
Data Definition Language (DDL) when creating, altering, and dropping artifacts such as tables.
-
Data Manipulation Language (DML) to perform operations on data, including insertions, updates, and deletions
-
User defined data types (UDTs)
-
JDBC - Java Database Connectivity
-
Mapping Structure:
- OneToOne
- OneToMany
- ManyToMany
-
polymorphism - this type of polymorphism is achieved by function overloading or operator overloading
-
Set, Bags, lists, maps are collection value type
- Set - HashSet
- SortedSet - TreeSet
- List - ArrayList
- Map - HashMap
- SortedMap - TreeMap