Guest User

Untitled

a guest
Oct 16th, 2018
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3. -<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4.  
  5.  
  6. -<persistence-unit transaction-type="RESOURCE_LOCAL" name="test">
  7.  
  8. <class>com.test.jpa.Student</class>
  9.  
  10.  
  11. -<properties>
  12.  
  13. <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
  14.  
  15. <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/test"/>
  16.  
  17. <property name="javax.persistence.jdbc.user" value="root"/>
  18.  
  19. <property name="javax.persistence.jdbc.password" value="root"/>
  20.  
  21. <property name="hibernate.connection.pool_size" value="1"/>
  22.  
  23. <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
  24.  
  25. <property name="show_sql" value="true"/>
  26.  
  27. <property name="hibernate.temp.use_jdbc_metadata_defaults" value="false"/>
  28.  
  29. </properties>
  30.  
  31. </persistence-unit>
  32.  
  33. </persistence>
Add Comment
Please, Sign In to add comment