Advertisement
Guest User

persistence

a guest
Nov 9th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.81 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
  3.     <persistence-unit name="soft_uni">
  4.         <properties>
  5.             <property name = "hibernate.connection.url" value="jdbc:mysql://localhost:3306/soft_uni"/>
  6.             <property name = "hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
  7.             <property name = "hibernate.connection.username" value="root"/>
  8.             <property name = "hibernate.connection.password" value="1234"/>
  9.             <property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>
  10.             <property name = "hibernate.hbm2ddl.auto" value="update"/>
  11.             <property name = "hibernate.show_sql" value = "true" />
  12.         </properties>
  13.     </persistence-unit>
  14. </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement