Database configuration using Hibernate - Wilhan-Botelho/javaee GitHub Wiki

Steps to go up at Localhost

First step to go up at localhost is to set the database config, located at file: src/META-INF/persistence.xml; You will find that block, with strings to every config we needs, like database url, user and password, moreover, we find too the database driver and other configs that a little search about Hibernate makes more clear than I can explain here:

<properties>

<!-- dados da conexao -->

[...]

If you have no interest to config your own database, create a database named "javaeewilhanbotelho", user "root", password "";

⚠️ **GitHub.com Fallback** ⚠️