Skip to content

Instantly share code, notes, and snippets.

@dmitry-osin
Last active June 2, 2022 11:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitry-osin/73bf03f6457c980b9c38085de806c5e3 to your computer and use it in GitHub Desktop.
Save dmitry-osin/73bf03f6457c980b9c38085de806c5e3 to your computer and use it in GitHub Desktop.
<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="blogPU" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<properties>
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/tweet?useSSL=false&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true" />
<property name="javax.persistence.jdbc.user" value="super_admin" />
<property name="javax.persistence.jdbc.password" value="super_admin" />
<property name="javax.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver" />
<property name="javax.persistence.schema-generation.database.action"
value="create"/>
</properties>
</persistence-unit>
</persistence>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment