|
Greetings!!! We are using iBatis (am not sure on the version) along with Oracle
10.1.0.2.0 for one of our project. We are using BLOBs extensively, when we are
trying to insert into a table which has BLOBs we are facing some issue. Here
are the details you might be looking for. iBatis XML snipped
<insert id="insertFile" parameterMap="uploadFile">
INSERT INTO
FILEUPLOAD ( FILEID , FILENAME , UPLOADDATE, FILELOCATION)
VALUES
(#fileId#, #fileName#,TO_DATE(SYSDATE, 'MM/DD/YY'), #fileLink#)
</insert>
<insert id="insertFileEmptyBlob"
parameterClass="com.newsamerica.value.ffms.jobinformation.JobAttachmentValue">
INSERT INTO
FILEUPLOAD ( FILEID , FILENAME , UPLOADDATE, FILELOCATION)
VALUES
(#fileId#, #fileName#,TO_DATE(SYSDATE, 'MM/DD/YY'), empty_blob())
</insert> Exception Caused by: java.sql.SQLException:
ORA-01858: a non-numeric character was found where a numeric was expected Please let me know on what am I doing
wrong? Warm Regards, Akil
|
Ibatis Blob Insertion problems
Jambunathan, Akilaprasad \(Cognizant\) Thu, 12 Oct 2006 07:53:53 -0700
- Ibatis Blob Insertion problems Jambunathan, Akilaprasad \(Cognizant\)
- Re: Ibatis Blob Insertion prob... Brandon Goodin
- RE: Ibatis Blob Insertion prob... Jambunathan, Akilaprasad \(Cognizant\)
- RE: Ibatis Blob Insertion prob... Yee, Richard K CTR DMDC
