Hibernate: insert into M2IREMITTXNAUDIT (VERSION, M2ICUSTID, REMTXNID, M2IPRODID, CURRENCYID, COUNTRYCCYID, DISBCODE, TRACKNO, REMITAMOUNT, PURPOSECODE, ACCINSTID, DEPOPERIOD, DESTCURRID, INRFLAG, INRAMOUNT, CUSTRATE, STATID, ACHFILEID, REFTRACKNO, RETURNDATE, REJECTID, CBBPCCOMMENT, CANCEL_DATE, COMMISION, AGENCYCHG, RETCHARGE, MATCHED_FLAG, ACTDATE, BRANCHCODE, BANKID, INRPERCENT, INRACTNO, FILESTATUS, EMAILFLAG, STATUS, MAKER, MAKERSTAMP, UPDSTAMP, REMITTERCOUNTRYID, AUDITID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into M2IREMACHTXNAUDIT (ACHACNID, ROUTINGNO, M2IACCTYPE, ACCOUNTNO, RECTYPE, NOOFREQ, RECFREQ, FILESTATUS, REMITTANCEID, AUDITID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
java.lang.ClassCastException: java.lang.Long
at net.sf.hibernate.type.IntegerType.set(IntegerType.java:31)
at net.sf.hibernate.type.NullableType.nullSafeSet(NullableType.java:48)
at net.sf.hibernate.type.NullableType.nullSafeSet(NullableType.java:35)
at net.sf.hibernate.persister.NormalizedEntityPersister.dehydrate(NormalizedEntityPersister.java:379)
at net.sf.hibernate.persister.NormalizedEntityPersister.dehydrate(NormalizedEntityPersister.java:362)
at net.sf.hibernate.persister.NormalizedEntityPersister.insert(NormalizedEntityPersister.java:504)
at net.sf.hibernate.persister.NormalizedEntityPersister.insert(NormalizedEntityPersister.java:478)
at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:28)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2306)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2259)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2185)
at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
at com.cashtech.crab.hibernate.HibernateTransaction.commit(HibernateTransaction.java:75)
at TestAudit.main(TestAudit.java:42)
|