*
The moose likes JDBC and the fly likes Oracle 9i :trouble using setnull(...) in a PreparedStatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle 9i :trouble using setnull(...) in a PreparedStatement" Watch "Oracle 9i :trouble using setnull(...) in a PreparedStatement" New topic
Author

Oracle 9i :trouble using setnull(...) in a PreparedStatement

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello,
if have a problem with something that is really simple.
My query look like
if my object Date myDate used in the code is null
like

then i receive an error like

idem if i use pstmt.setNull(1,Types.Date)
Do someone already encounter this error ?
Do you have any clue because i want to update a value to null!
 
Don't get me started about those stupid light bulbs.
 
subject: Oracle 9i :trouble using setnull(...) in a PreparedStatement
 
Similar Threads
How to get the number of rows in a ResultSet
calling stored function
String to CLOB conversion
Updating a ResultSet object..
Multiple updateXXX calls in sequence for multiple rows.