Last active
May 22, 2023 13:40
-
-
Save jeffersonchaves/46e7edef7529563384340525724c6244 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence | |
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" | |
version="2.1"> | |
<persistence-unit name="**********"> | |
<properties> | |
<property name="jakarta.persistence.jdbc.url" value="jdbc:mysql://localhost/***********?useSSL=false&createDatabaseIfNotExist=true&serverTimezone=UTC" /> | |
<property name="jakarta.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" /> | |
<property name="jakarta.persistence.jdbc.user" value="*********" /> | |
<property name="jakarta.persistence.jdbc.password" value="*********" /> | |
<property name="jakarta.persistence.schema-generation.database.action" value="update"/> | |
<!-- | |
Opções: | |
update | |
create | |
drop-and-create | |
--> | |
<property name="hibernate.show_sql" value="true" /> | |
<property name="hibernate.format_sql" value="true" /> | |
</properties> | |
</persistence-unit> | |
</persistence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment