Hi All,
I am using Hibernate 3.0, JPA (spring-orm-3.0.3.RELEASE.jar) and Oracle 11G for our project. Project is running in
JBOSS 5.1.0GA.
In Oracle we are having one table ( EP) with one COlumn as XMLTYPE datatype.
In JPA Entity defined as with XMLTYPE column type:
when I am running this code always getting below exception:
Can you please let me know what the problem in mapping. I am not getting the issue and its resolution.
Persistence.xml is having dialect and JPA as below:
<properties>
<!-- Transaction integration -->
<property name="hibernate.transaction.factory_class"
value="org.hibernate.ejb.transaction.JoinableCMTTransactionFactory" />
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup" />
<property name="jboss.entity.manager.factory.jndi.name"
value="persistence-units/JpaPersistence" />
<property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/>
<property name="hibernate.hbm2ddl.auto" value="validation" />
</properties>
</persistence-unit>
</persistence>
Thanks