https://www.youtube.com/watch?v=MakpATH_wso&feature=youtu.be
Use CMD+4 and run
Project new
JPA Setup
JPA Generate Entities From Tables
in Generate Entities Wizard fill in:
JDBC URL: jdbc:h2:tcp://localhost/sakila
Driver location to the sakila h2 driver
Select H2 dialect
username