Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <!--
  2. ~ Hibernate, Relational Persistence for Idiomatic Java
  3. ~
  4. ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
  5. ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  6. -->
  7. <persistence xmlns="http://java.sun.com/xml/ns/persistence"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
  10. version="2.0">
  11.  
  12. <persistence-unit name="ee.tthk.tarpe17">
  13. <description>
  14. Jalgrattaeksam
  15. </description>
  16.  
  17. <class>ee.tthk.tarpe17.Exam</class>
  18.  
  19. <properties>
  20. <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
  21. <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE" />
  22. <property name="javax.persistence.jdbc.user" value="sa" />
  23. <property name="javax.persistence.jdbc.password" value="" />
  24.  
  25. <property name="hibernate.show_sql" value="true" />
  26. <property name="hibernate.hbm2ddl.auto" value="create" />
  27. </properties>
  28.  
  29. </persistence-unit>
  30.  
  31. </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement