Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add comments to persistence.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Aug 14, 2014
1 parent 42f576a commit 0ebe085
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -61,6 +61,7 @@
<property name="hibernate.hbm2ddl.auto"
value="${env.hibernate.hbm2ddl.auto}" />

<!-- TODO this won't work with Hibernate 4.3 or later -->
<property name="hibernate.connection.provider_class"
value="org.zanata.database.WrappedDatasourceConnectionProvider" />

Expand All @@ -74,9 +75,13 @@
<property name="hibernate.connection.characterEncoding" value="UTF-8" />

<!-- Only relevant if Seam is loading the persistence unit (Java SE bootstrap) -->
<!-- NB: Might have to be removed for Hibernate 4.3 -->
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup" />

<!-- for Hibernate 4.3 (but not 4.2):
<property name="hibernate.transaction.jta.platform" value="JBossAS" />
-->

<!-- Search engine -->
<property name="hibernate.search.default.directory_provider"
Expand Down

0 comments on commit 0ebe085

Please sign in to comment.