Using a Data Source with JPA (Video)

Photo of Debbie Hoffman by Debbie Hoffman

 

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.

Using a Data Source with JPA

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. 

Data Source Tutorials

Comments