• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

database exception  RSS feed

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody tell me why this kind of exception thrown.

Unable to upload file to database;

oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)

oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)

oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)

oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)

oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)

oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:791)

oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1109)

oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)

oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2973)
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The text of that message doesn't read like an Oracle error at all - Oracle doesn't know anything about files, only BLOBs. Can you post the code that causes it?
 
Bala Raju Mandala
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am sorry for giving the limited information. The message "unable to upload file" is added by me to find exception in logger.

this is the original exception thrown,

oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)

oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)

oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)

oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)

oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)

oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:791)

oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1109)

oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)

oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2973)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!