Using a Data Source with JPA (Video)
Originally published on 19 Jan 2021
Last updated on 19 Jan 2021
JPA is an object relational mapping framework. In this simple video, Rudy De Busscher shows you how to define the data source within the JPA framework in under 8 minutes.
You can use any data source with the JPA framework. You'll need to define the mapping between your database table and its associated Java entity object. One of the advantages of the JPA framework is that you can remove a lot of boilerplate code and errors which are common in the JDBC framework.
If you want to learn how to use MySQL, PostGreSQL, or Oracle databases in Payara Server and Payara Micro, or see how to use a data source in the JDBC framework, you can watch the other videos in this series specific to your database of choice as they are published.
Related Posts
What’s New In The Payara Platform November 2024 Release?
Published on 20 Nov 2024
by Luqman Saeed
0 Comments
Nugget Friday - Preventing Memory Leaks with JDBC Connection Pool Management in Payara Server
Published on 15 Nov 2024
by Luqman Saeed
0 Comments