Master Java Persistence with Spring and Hibernate: A Pluralsight Course by Bryan Hansen
# Pluralsight - Bryan Hansen - Spring with JPA and Hibernate ## Introduction - What is Pluralsight and who is Bryan Hansen - What is Spring and why it is popular for Java development - What is JPA and Hibernate and how they simplify data access - What are the benefits of learning Spring with JPA and Hibernate - What are the objectives and prerequisites of this course ## Spring, the Java Persistence API (JPA), and Hibernate - What is the Java Persistence API (JPA) and how it defines a standard for object-relational mapping - What is Hibernate and how it implements JPA and provides additional features - How Spring integrates with JPA and Hibernate and provides a consistent data access layer - What are the main components of a Spring JPA/Hibernate application ## Download and Walkthrough of the Spring MVC Java App - How to download and set up the scaffold application using Spring MVC - How to use Eclipse/Spring STS and Maven for development - How to run and test the application using Tomcat - How to explore the source code and understand the structure of the application ## Architecture Walkthrough of a Spring JPA / Hibernate Application - How to use the Model-View-Controller (MVC) pattern for web development with Spring - How to define entities, repositories, services, controllers, and views in a Spring JPA/Hibernate application - How to use annotations, XML, or Java configuration for Spring and JPA/Hibernate - How to use dependency injection and inversion of control with Spring ## Recap of Spring Concepts that Are Used in This Course - How to use Spring beans and their scopes - How to use properties and profiles with Spring - How to use aspect-oriented programming (AOP) with Spring - How to use testing tools with Spring ## Configuration of Spring and JPA for Development - How to configure Spring using XML, annotations, or Java - How to configure JPA using persistence.xml or Java - How to configure Hibernate using properties or XML - How to configure data sources using JDBC or JNDI ## Overview of JPA and Creating Your First Entity - How to use annotations or XML to map Java classes to database tables - How to use @Entity, @Table, @Id, @GeneratedValue, @Column, and other basic annotations - How to use EntityManagerFactory, EntityManager, EntityTransaction, and PersistenceContext to interact with entities - How to perform CRUD operations using JPA ## JPA Annotations and How to Use Them - How to use @Embedded, @Embeddable, @AttributeOverride, @AttributeOverrides, @Transient, and other annotations for simple types - How to use @OneToOne, @OneToMany, @ManyToOne, @ManyToMany, @JoinColumn, @JoinTable, @MappedBy, @Fetch, @CascadeType, and other annotations for associations - How to use @ElementCollection, @CollectionTable, @MapKeyColumn, @MapKeyJoinColumn, @OrderBy, @OrderColumn, and other annotations for collections - How to use @Inheritance, @DiscriminatorColumn, @DiscriminatorValue, @MappedSuperclass, and other annotations for inheritance ## How to Configure and Use Spring Data JPA - What is Spring Data JPA and how it simplifies data access with JPA - How to use JpaRepository interface and its methods for common operations - How to use Query Methods, Query Annotations, Named Queries, Native Queries, and Specifications for custom queries - How to use PagingAndSortingRepository interface and Pageable and Sort classes for pagination and sorting ## Conclusion - Summary of what was covered in this course - Benefits of using Spring with JPA and Hibernate for Java development - Resources for further learning ## FAQs ### Q: What is Pluralsight? A: Pluralsight is an online learning platform that offers courses on various topics related to technology. It has over 7,000 courses taught by expert instructors. ### Q: Who is Bryan Hansen? A: Bryan Hansen is a Director at Software Technology Group, a consulting company based out of Salt Lake City. He has authored and taught numerous courses in Java on Pluralsight. ### Q: What is Spring? A: Spring is a popular framework for developing Java applications. It provides various modules that simplify common tasks such as dependency injection, web development, data access, testing, security, and more. ### Q: What is JPA? A: JPA stands for Java Persistence API. It is a standard specification that defines how to map Java objects to relational databases and perform operations on them. ### Q: What is Hibernate? A: Hibernate is an open-source implementation of JPA. It provides additional features such as caching, querying, performance tuning, and more.
Pluralsight - Bryan Hansen - Spring with JPA and Hibernate
71b2f0854b