hi all,
i am working with JPA. i actually do not get any exception or any error but when i try updating my database or insert into the database, i am unable to do so.
actually i am using weblogic as my appserver. when i deploy the same application on jboss no such problem is encountered but with weblogic i have this problem.
my persistence.xml is :
<?xml version="1.0"?>
<persistence 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/ ... ce_1_0.xsd"
version="1.0">
<persistence-unit name="jpaDaoDB" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>PayeeDetail</jta-data-source>
<class>com.infosys.j2ee.setlbank.entity.operativeaccounts.Accounts</class>
<class>com.infosys.j2ee.setlbank.entity.address.Address</class>
<class>com.infosys.j2ee.setlbank.entity.customise.Customer</class>
<class>com.infosys.j2ee.setlbank.entity.pendingtransfer.FundTransfer</class>
<class>com.infosys.j2ee.setlbank.entity.billpayments.Payee</class>
<class>com.infosys.j2ee.setlbank.entity.billpaymentsdetails.Payments</class>
<class>com.infosys.j2ee.setlbank.entity.request.Request</class>
<class>com.infosys.j2ee.setlbank.entity.transaction.Transaction</class>
<properties>
<property name="hibernate.hbm2ddl.auto" value="validate"/>
<property name="hibernate.connection.username" value="weblogic"/>
<property name="hibernate.connection.password" value="weblogic"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/>
<property name="hibernate.connection.url" value="jdbc:oracle:thin:@172.25.203.136:1526:PETSTORE"/>
<property name="hibernate.connection.driver_class" value="oracle.jdbc.driver.OracleDriver"/>
<property name="hibernate.query.factory_class" value="org.hibernate.hql.classic.ClassicQueryTranslatorFactory"/>
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup"/>
<property name="hibernate.transaction.factory_class" value="org.hibernate.ejb.transaction.JoinableCMTTransactionFactory"/>
</properties>
</persistence-unit>
</persistence>
can anyone tell me what can the problem be..
thanx