File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle 9i :trouble using setnull(...) in a PreparedStatement