forked from hibernate/hibernate-search
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#73 change ref assignment for EntityManager inside the job
- Loading branch information
Showing
8 changed files
with
104 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
integrationtest/javaee-wildfly/src/test/resources/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> | ||
<persistence-unit name="jsr352" transaction-type="JTA"> | ||
<persistence-unit name="h2" transaction-type="JTA"> | ||
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> | ||
<!-- <class>org.hibernate.search.jsr352.test.entity.Address</class> | ||
<class>org.hibernate.search.jsr352.test.entity.Stock</class> --> | ||
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source> | ||
<class>org.hibernate.search.jsr352.test.entity.Company</class> | ||
<properties> | ||
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect" /> | ||
<property name="hibernate.show_sql" value="false" /> | ||
<property name="hibernate.format_sql" value="false" /> | ||
<property name="hibernate.hbm2ddl.auto" value="create-drop" /> | ||
<property name="hibernate.search.default.directory_provider" value="ram" /> | ||
<!-- <property name="hibernate.search.default.directory_provider" value="ram" /> --> | ||
<property name="hibernate.search.indexing_strategy" value="manual" /> | ||
<property name="hibernate.search.lucene_version" value="LUCENE_CURRENT" /> | ||
</properties> | ||
</persistence-unit> | ||
</persistence> |