JPA and Hibernate Essentials
Learn how to use Object Relational mapping framework Hibernate as well as the standard JPA. This is essential knowledge when working with databases in Java applications.
Why JPA?
How To Learn
Object Relational Mapping
Hibernate vs JPA
How JPA works and its advantages
Setting Up
Setting Up H2 Database server
New Maven project and adding dependencies
Creating a persistence context + Creating a model class
Persisting Entities with Entity Manager
Understanding Persistence XML
Entity Annotations Unit Intro
@Table and @Column customizations
Temporal, Date and other data types
Dealing with Enumerations
Transient
Primary Key
Examining hbm2ddl options
Entity read operation with JPA
Update operation with JPA
Deleting an Entity
Creating the second entity
Modeling a One-to-One relationship
Fetching and Fetch Types
Relationship directionality and mappedBy
OneToMany and ManyToOne
Reverse relationship with OneToMany
Why Have Cyclical Relationships?
Using JoinColumn
Many To Many relationship
FetchType for ManyToMany
Customizing JoinTable and JoinColumns
Updating relationships with JPA
Deletes and cascades with relationship mappings
Explain how different pricing options might be valuable to different segments of your audience.
Regular price