[3/13/10 13:22:55:074 SGT] 00000014 JPAPUnitInfo E CWWJP0015E: An
error occurred in the org.hibernate.ejb.HibernatePersistence
persistence provider when it attempted to create the container entity
manager factory for the afesjpa persistence unit. The following error
occurred: [PersistenceUnit: afesjpa] Unable to build
EntityManagerFactory
[3/13/10 13:22:55:074 SGT] 00000014 JPAPUnitInfo E CWWJP0009E: The
server cannot create an EntityManagerFactory factory for the afesjpa
persistent unit from the org.hibernate.ejb.HibernatePersistence
provider in file:/C:/Afes3/afesjpa/src/ module.
below is the persistence.xml.
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0"
xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="afesjpa" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>jdbc/IIMSDB</jta-data-source>
<properties>
<property name="hibernate.dialect"
value="org.hibernate.dialect.DB2Dialect"/>
</properties>
</persistence-unit>
</persistence>
anyone have solution? Please help and thanks in advance.
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/
>