aspose file tools*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

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


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I set a sql Date object to null using JDBC