Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to OSGi 4.3. Removed explicit listing of entities to test

scanning.
  • Loading branch information...
commit 2a0ae2e13dda1e8993dd3c09dafb63d895e01e7d 1 parent c2140ba
@brmeyer authored
View
2  HibernateOSGi_AppManaged/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>4.2.0</version>
+ <version>4.3.0</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
View
2  HibernateOSGi_ContainerManaged/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>4.2.0</version>
+ <version>4.3.0</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
View
4 HibernateOSGi_ContainerManaged/src/main/resources/META-INF/persistence.xml
@@ -5,13 +5,11 @@
<persistence-unit name="HibernateOSGi_ContainerManaged" transaction-type="JTA">
<jta-data-source>osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/h2ds)</jta-data-source>
- <class>org.hibernate.osgitest.entity.DataPoint</class>
- <exclude-unlisted-classes>true</exclude-unlisted-classes>
-
<properties>
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
+ <property name="hibernate.archive.autodetection" value="class"/>
</properties>
</persistence-unit>
</persistence>
Please sign in to comment.
Something went wrong with that request. Please try again.