This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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!
 
 
subject: Oracle 9i :trouble using setnull(...) in a PreparedStatement