Hibernate version: 3.2.6
Name and version of the database you are using: hsqldb 1.8.6
Hi,
i hope you can help me. I using jboss, with seam,spring and hibernate. Jboss comes with a version of hibernate, so yesterday i need to update the version of hibernate.
The following libs are updated:
antlr-2.7.6.jar
commons-collections-3.1.jar
com4j-1.6.1.jar
ejb3-persistence.jar
hibernate3.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-core.jar
hibernate-entitymanager.jar
hibernate-search.jar
hibernate-validator.jar
javassist-3.4.GA.jar
jms.jar
jsr250-api.jar
jta-1.1.jar
lucene-core.jar
slf4j-api-1.5.6.jar
slf4j-nop-1.5.6.jar
solr-common.jar
solr-core.jar
On startup of the server, they reading my configurationContext.xml:
Code:
...
<property name="jpaVendorAdapter">
<bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="generateDdl" value="true" />
<property name="database">
<util:constant static field="org.springframework.orm.jpa.vendor.Database.MYSQL" />
</property>
<property name="showSql" value="true" />
</bean>
</property>
....
and then i getting following exception:
Code:
java.lang.IllegalArgumentException: class org.hibernate.ejb.HibernatePersistence is not assignable to interface javax.persistence.spi.PersistenceProvider
i dont know if this the right forum for my problem, but i hope you can give me some tipps.
Big thanks!