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 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
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: 3740
    
  10

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


[OCA 8 Book] [Blog]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How do I set a sql Date object to null using JDBC