Last active
April 28, 2018 01:16
-
-
Save kg6zvp/d94de93acc35788d775ef2eef465ce11 to your computer and use it in GitHub Desktop.
Tutorial Database Part 2 persistence.xml gist
This file contains 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> | |
<persistence-unit name="tutorial"> | |
<properties> | |
<property name="javax.persistence.schema-generation.database.action" value="create" /> | |
<!-- Don't worry about these, they are there to make the tutorial easier to follow --> | |
<property name="hibernate.show_sql" value="true"/> | |
<property name="hibernate.format_sql" value="true"/> | |
<property name="hibernate.use_sql_comments" value="true"/> | |
</properties> | |
</persistence-unit> | |
</persistence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment