aspose file tools
The moose likes Object Relational Mapping and the fly likes Not able to insert a BLOB object in Oracle using Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Not able to insert a BLOB object in Oracle using Hibernate" Watch "Not able to insert a BLOB object in Oracle using Hibernate" New topic
Author

Not able to insert a BLOB object in Oracle using Hibernate

Shanmugam Muthukumarasamy
Ranch Hand

Joined: Jan 11, 2003
Posts: 83
Hi,

I am trying to insert a PDF form in the form of BLOB in to the Oracle database. But in the hibernate I am getting the following exception.

[5/24/07 14:29:29:417 PDT] 6dff6dff JDBCException W net.sf.hibernate.util.JDBCExceptionReporter SQL Error: 1460, SQLState: 72000
[5/24/07 14:29:29:417 PDT] 6dff6dff JDBCException E net.sf.hibernate.util.JDBCExceptionReporter ORA-01460: unimplemented or unreasonable conversion requested

[5/24/07 14:29:29:417 PDT] 6dff6dff JDBCException E net.sf.hibernate.util.JDBCExceptionReporter could not insert: [com.i21.maintenance.claims.forms.CfPdfBlobVO#10035]
[5/24/07 14:29:29:432 PDT] 6dff6dff JDBCException E net.sf.hibernate.util.JDBCExceptionReporter TRAS0014I: The following exception was logged java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested

Any idea, Please let me know
Thanks in Advance!


SJCP 1.4<br />SCWCD 1.4<br />SCEA
 
IntelliJ Java IDE
 
subject: Not able to insert a BLOB object in Oracle using Hibernate
 
Threads others viewed
store and retreive the image from oracle
problem in inserting pdf file
Using Hibernate to insert into Oracle Blob, then read back out
store the image in oracle
ORA-01460: unimplemented or unreasonable conversion requested
MyEclipse, The Clear Choice