JPA/Hibernate tutorial for beginners

Опубликовано: 21 Октябрь 2024
на канале: MariaDB
41,289
86

In this video, Alejandro Duarte demonstrates how to use JPA with Hibernate but no other frameworks, so you get to understand the fundamentals of JPA.

►Read the tutorial: https://dzone.com/articles/getting-st...

►JDBC tutorial:    • JDBC Tutorial part 1/3 – Database con...  

►Source code: https://github.com/mariadb-developers...

0:00 What is JPA?
0:54 Creating a new Maven project
3:12 Defining a Persistence Unit
5:04 Creating a MariaDB ® database
5:53 Configuring the database connection
7:27 Creating a JPA Entity
11:21 Encapsulating JPA logic
16:03 Using an EntityManager
19:34 Configuring table and column names
21:11 Extracting boilerplate code
27:04 Querying the database

►Follow Alejandro Duarte on Twitter:   / alejandro_du  
►Follow MariaDB on Twitter:   / mariadb  
►Subscribe to the MariaDB channel:    / mariadb  
►More Java videos: https://www.youtube.com/playlist?list...

#Java #JPA #Databases #MariaDB

MariaDB is making a big impact on the world. Whether you’re checking your bank account, buying a coffee, shopping online, making a phone call, listening to music, taking out a loan, or ordering takeout–MariaDB is the backbone of applications used every day. Companies small and large, including 75% of the Fortune 500 run MariaDB, touching the lives of billions of people. With massive reach through Linux distributions, enterprise deployments, and public clouds, MariaDB is uniquely positioned as the leading database for modern application development.

Explore MariaDB: https://mariadb.com
Learn about SkySQL: https://mariadb.com/products/skysql
Check out the MariaDB DeveloperHub: https://mariadb.com/developers/
Get in touch with MariaDB experts via Slack: https://mariadb-community.slack.com/