new Timestamp(Long.MAX_VALUE) as jdbc arg causes error
Max <[email protected]> Tue, 26 Aug 2003 13:08:59 -0400
| Newsgroups | gmane.comp.db.sapdb.general |
|---|---|
| Message-ID | <[email protected]> |
I need to set a timestamp field to an "end of time" date/time ... preparedStatement.set(x, new Timestamp(Long.MAX_VALUE)); I get an exception that says invalid ISO date format ... I just need to represent a date that will be greater or equal to any Java dates. Should I use another (smaller?) constant, if yes what is it ? Or is this a bug that will be fixed ?