Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.  
  5. xmlns="http://xmlns.jcp.org/xml/ns/persistence"
  6.  
  7. xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
  8. version="2.1">
  9.  
  10. <persistence-unit name="pandaPU" transaction-type="RESOURCE_LOCAL">
  11. <properties>
  12. <property name="hibernate.connection.url"
  13. value="jdbc:mysql://localhost:3306/panda_db?useSSL=false&amp;createDatabaseIfNotExist=true&amp;serverTimezone=UTC"/>
  14. <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
  15. <property name="hibernate.connection.username" value="root"/>
  16. <property name="hibernate.connection.password" value="1234"/>
  17. <property name="hibernate.dialect" value="org.hibernate.dialect.MariaDBDialect"/>
  18. <property name="hibernate.hbm2ddl.auto" value="update"/>
  19. <property name="hibernate.show_sql" value="true"/>
  20. <property name="hibernate.format_sql" value="true"/>
  21. </properties>
  22.  
  23. </persistence-unit>
  24.  
  25. </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement