Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <persistence
- xmlns="http://java.sun.com/xml/ns/persistence"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
- http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
- version="1.0">
- <persistence-unit name="IntroEJB3" transaction-type="JTA">
- <jta-data-source>java:/H2DS</jta-data-source>
- <properties>
- <property name="hibernate.hbm2ddl.auto" value="update"/>
- <property name="hibernate.show_sql" value="true" />
- <property name="hibernate.connection.driver_class"
- value="org.h2.Driver"/>
- <property name="hibernate.dialect"
- value="org.hibernate.dialect.H2Dialect"/>
- </properties>
- </persistence-unit>
- </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement