I got Oracle Error ORA-01461 in my prod server only once recently while doing batch update of records in Oracle. Although simultaneously there were many processing were going on, only one processing failed, rest of other similar processes passed in server without this error. Oracle version is 10.2.0.3.0
I browsed my forums regarding this but not getting concrete answere, somebody talks about character set, but this does not seems to be problem because we are inserting normal alphabets and number within the length limit of DB Column lenghts. Our application is runnig since 4 years and we got this issue first time.
Inlining the exception trace. ITs not related to LONG data type because we insert all columns as Varchar.
15-Aug 16:13:54.0530| FATAL | [Default : 0] | com.polaris.iph.file.workflow.helper.FileWFManagerHelper:txnBatchForward
(818) | txnBatchForward() | SQLException while inserting Batch & Txns
java.sql.BatchUpdateException: ORA-01461: can bind a LONG value only for insert into a LONG column at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException
(OraclePreparedStatement.java(Compiled Code)) at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.pmiExecuteBatch