-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Invalid datatype in OCI Call - error. Pls help
PostPosted: Thu Jun 29, 2006 8:07 am 
Newbie

Joined: Thu Jun 29, 2006 7:52 am
Posts: 1
Location: Bangalore
Hibernate version: 3.0

29 06 2006 17:32:10,0112 18349 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-01024: invalid datatype in OCI call



29 06 2006 17:32:10,0128 18365 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-01024: invalid datatype in OCI call



29 06 2006 17:32:10,0143 18380 [main] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session

org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)

at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)

at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)

at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:181)

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)

at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)

at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)

at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)

at org.springframework.orm.hibernate3.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:394)

at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367)

at org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:690)

at com.logicacmg.hms.dao.UserStockDAO.save(UserStockDAO.java:35)

at com.logicacmg.hms.servicesImpl.UserStockInfoImpl.createStockInfo(UserStockInfoImpl.java:76)

at com.logicacmg.hms.junit.TestStock.testStock(TestStock.java:118)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at junit.framework.TestCase.runTest(TestCase.java:164)

at junit.framework.TestCase.runBare(TestCase.java:130)

at junit.framework.TestResult$1.protect(TestResult.java:110)

at junit.framework.TestResult.runProtected(TestResult.java:128)

at junit.framework.TestResult.run(TestResult.java:113)

at junit.framework.TestCase.run(TestCase.java:120)

at junit.framework.TestSuite.runTest(TestSuite.java:228)

at junit.framework.TestSuite.run(TestSuite.java:223)

at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)

at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Caused by: java.sql.BatchUpdateException: ORA-01024: invalid datatype in OCI call



at oracle.jdbc.dbaccess.DBError.throwBatchUpdateException(DBError.java:459)

at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:3907)

at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)

at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)

at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:174)

... 30 more

29 06 2006 17:32:10,0143 18380 [main] ERROR com.logicacmg.hms.dao.UserStockDAO - save failed

org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL [insert into KRISHNA.USER_STOCK (USER_ID, BANK_ID, STOCK_ID, STOCK_DESC, STOCK_QTY, STOCK_PRICE, STOCK_TOTAL, STOCK_PUR_DATE, STOCK_SOLD_DATE, USER_STOCK_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [72000]; error code [1024]; ORA-01024: invalid datatype in OCI call

; nested exception is java.sql.BatchUpdateException: ORA-01024: invalid datatype in OCI call



java.sql.BatchUpdateException: ORA-01024: invalid datatype in OCI call



at oracle.jdbc.dbaccess.DBError.throwBatchUpdateException(DBError.java:459)

at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:3907)

at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)

at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)

at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:174)

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)

at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)

at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)

at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)

at org.springframework.orm.hibernate3.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:394)

at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367)

at org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:690)

at com.logicacmg.hms.dao.UserStockDAO.save(UserStockDAO.java:35)

at com.logicacmg.hms.servicesImpl.UserStockInfoImpl.createStockInfo(UserStockInfoImpl.java:76)

at com.logicacmg.hms.junit.TestStock.testStock(TestStock.java:118)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at junit.framework.TestCase.runTest(TestCase.java:164)

at junit.framework.TestCase.runBare(TestCase.java:130)

at junit.framework.TestResult$1.protect(TestResult.java:110)

at junit.framework.TestResult.runProtected(TestResult.java:128)

at junit.framework.TestResult.run(TestResult.java:113)

at junit.framework.TestCase.run(TestCase.java:120)

at junit.framework.TestSuite.runTest(TestSuite.java:228)

at junit.framework.TestSuite.run(TestSuite.java:223)

at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)

at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)




Oracle 9i


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.