This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Oracle 9i :trouble using setnull(...) in a PreparedStatement
 
jQuery in Action, 3rd edition