Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database exception

 
Bala Raju Mandala
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)
 
Paul Sturrock
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic