Java EE Tutorial #3 - JPA Database Connection Part 1

preview_player
Показать описание
Java EE Tutorial #3 - JPA Database Connection Part 1

In this Video I show you how to use Databases in Java EE. We will work with JPA and Glassfish JDBC Resources.

JDBC Connection Pool URL: jdbc:mysql://localhost:3306/youtube

If you have any questions, feel free to write a comment ;).

Subscribe now!

Рекомендации по теме
Комментарии
Автор

Great tutorial. I'm pasting here the  sql script to generate the table used in the video, in case anyone needs it:

create table t_user(
   id INTEGER(10) NOT NULL AUTO_INCREMENT,
   username VARCHAR(45) NOT NULL,
   PRIMARY KEY(id)
) ENGINE=INNODB;

matc
Автор

Thanks Dennis! Your tutorial is really great! Keep it up

gionatangallo
Автор

i have the following error when i ping

Please check the server.log for more details

christospapidas
Автор

at 3:18 it throws a 500 error, getOutputStream() has already been called for this response

TlnITA
Автор

READ ME: for people who will be using glassfish 5 or may be higher in the future, the latest sql Connector/J 8.0.16+ might not work, and when you ping, it might throw Please check the server.log for more details" error!
So a possible solution is to get the old version of the connector - Connector/J 5.1.47 -> This solved my issue! hopefully this will help someone and save some time! :D i love you guys.. good luck programming.. guys

PerfectHilton
Автор

How can you generate controllers from these classes with JPA?

laurentiubaltatu