Hi, Terry --
I'll speak a bit to the java side of things, and let
others speak about any InstantDB-specific issues:
java.sql.Date is a thin wrapper around java.util.Date,
and *only* uses the date portion -- the time portion is
discarded. Similarly, java.sql.Time is a thin wrapper
around java.util.Date that discards the date portion,
while keeping the time portion. If you want true
datetime, you need to use the java.sql.Timestamp data
type, which keeps both date and time portions.
Hope this helps,
Bill Graham
Quoting Terry Steichen <terry@net-frame.com>:
> I'm interfacing with IDB via a DODS-generated layer.
When I create a > java.sql.Date object and store it in a
DATE type field, when I retrieve > it I can only extract
the date itself - the time appears to be hardcoded > to
12:00 pm.
=========================================
This mail sent through Sinclair's WebMail
http://mail.sinclair.net
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|