File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Why it put NULL valuse in my field? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Why it put NULL valuse in my field?" Watch "Why it put NULL valuse in my field?" New topic

Why it put NULL valuse in my field?

Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Hi Friends,
Do you have any idea why if I enter "00/00/0000"
to the fldFixedDate after run following code it will put NULL on my table istead of 00-00-0000?
Any advice to solve it?
Many thanks,

Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Because there is no such date as 0-00-0000. That's a meaningless date.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Younes Essouabni
Ranch Hand

Joined: Jan 13, 2002
Posts: 479
Hi Kyle,
The link you provided to your homepage doesn't work.

By constantly trying one ends up succeeding. Thus: the more one fails the more one has a chance to succeed.
I agree. Here's the link:
subject: Why it put NULL valuse in my field?
jQuery in Action, 3rd edition