Subject Re: [Firebird-Java] Date/Time with Prepared Statement
Author Thomas Steinmaurer
Hello,

> Ah, the joys of Java!
>
> Use the SimpleDateFormat class to create a format that will understand
> your date.
>
> Then, stick your date and string together and pass it to the formatter.
> It will give you a correct date in milliseconds, that you can use to
> create a new Timestamp.

All in all, a bit confusing. ;-)

I've merged now the two DATE and TIME fields into a TIMESTAMP field and
use Roman's suggestion with setTimeStamp ... Works now. ;-)


Thanks to you both.

Regards,
Thomas