Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <persistence
  2. xmlns="http://java.sun.com/xml/ns/persistence"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
  5. http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
  6. version="1.0">
  7. <persistence-unit name="IntroEJB3" transaction-type="JTA">
  8. <jta-data-source>java:/H2DS</jta-data-source>
  9. <properties>
  10. <property name="hibernate.hbm2ddl.auto" value="update"/>
  11. <property name="hibernate.show_sql" value="true" />
  12. <property name="hibernate.connection.driver_class"
  13. value="org.h2.Driver"/>
  14. <property name="hibernate.dialect"
  15. value="org.hibernate.dialect.H2Dialect"/>
  16. </properties>
  17. </persistence-unit>
  18. </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement