Skip to content

Commit

Permalink
persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
williewheeler committed Nov 17, 2011
1 parent 6ceb937 commit 40a12fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

<persistence-unit name="ContactManager" transaction-type="RESOURCE_LOCAL">
<description>This unit manages contacts.</description>
<provider>org.hibernate.ejb.HibernatePersistence</provider>

<!-- This makes sense if we're always going to load a container-managed data source, but for integration
tests we might want to inject our own app-managed data source. It's fine to omit this here, but then
we need to provide it from the Spring config. -->
<jta-data-source>jdbc/Sip02DS</jta-data-source>

<provider>org.hibernate.ejb.HibernatePersistence</provider>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect" />
<property name="hibernate.show_sql" value="false" />
Expand Down

0 comments on commit 40a12fa

Please sign in to comment.