Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <persistence version="2.1"
- xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://xmlns.jcp.org/xml/ns/persistence
- http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
- <persistence-unit name="primary">
- <!-- If you are running in a production environment, add a managed
- data source, this example data source is just for devleopment and testing! -->
- <!-- The datasource is deployed as WEB-INF/hibernate4-quickstart-ds.xml, you
- can find it in the source at src/main/webapp/WEB-INF/hibernate4-quickstart-ds.xml -->
- <jta-data-source>java:jboss/datasources/Hibernate4QuickstartDS</jta-data-source>
- <properties>
- <!-- Properties for Hibernate -->
- <property name="hibernate.hbm2ddl.auto" value="create-drop" />
- <property name="hibernate.show_sql" value="false" />
- <property name="jboss.as.jpa.scopedname" value="scopedexamplename"/>
- </properties>
- </persistence-unit>
- </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement