This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes database exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "database exception" Watch "database exception" New topic
Author

database exception

Bala Raju Mandala
Ranch Hand

Joined: Sep 21, 2006
Posts: 40
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

Joined: Apr 14, 2004
Posts: 10336

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?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bala Raju Mandala
Ranch Hand

Joined: Sep 21, 2006
Posts: 40
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)
 
 
subject: database exception
 
Similar Threads
Weblogic 8.1 SP5 server got shutdown due to Connection leak and java.lang.OutofMemory
java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint
java.lang.NullPointerException
localized message is ORA-00942: table or view does not exist
DB error in servlet while inserting data