This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes How do I set a sql Date object to null using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How do I set a sql Date object to null using JDBC" Watch "How do I set a sql Date object to null using JDBC" New topic
Author

How do I set a sql Date object to null using JDBC

luisa torress
Greenhorn

Joined: May 17, 2009
Posts: 3
Hi friends, I wanna insert a record in my table and I want the date field to appear as NULL


but this will give me current time?
Any suggestions thank you.


got it never mine solved it
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3749
    
  10

Why don't you post your solution in case anyone has a similar issue?


[OCA 8 Book] [Blog]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I set a sql Date object to null using JDBC
 
It's not a secret anymore!