In this video, Alejandro Duarte shows how to connect a Jakarta EE/Vaadin application to a MySQL database using JPA and the Data module of Apache DeltaSpike. 👇

0:00 Intro
0:13 Setting up a MySQL database
2:08 Adding the dependencies
4:47 Configuring the JDBC connection as a resource in TomEE
8:25 Defining a Persistence Unit
10:06 Implementing an Entity
12:24 Adding the MySQL JDBC driver to TomEE
13:23 Creating and using a repository interface
15:43 Creating an EntityManager
17:53 Running the application

#mysql #apache

Connecting to MySQL databases using JPA and Apache DeltaSpike Data
16.15 GEEK