27 June 2008

Blob problem (oracle)

Problem
code: st.setBinaryStream(1,streamData,data.length)
while inserting blob .it will throw
ORA-01460: unimplemented or unreasonable conversion requested Exception

Problem root
oracle driver problem (ojdbc14.jar) if you are using oracle 9 driver or minor version driver (ojdbc14.jar) .it will happen

Solution

please download corresponding latest driver from oracle website

2 comments:

Anonymous said...

the media pakage is nt available in java.........tell us an appropriate solution 4 this

mate tee said...

I've encountered a problem with a PostgreSQL database. I made a image
management system which stores images in a database from a PHP script.