Durations for timeouts

Lance Andersen lance.andersen at oracle.com
Tue Oct 10 11:52:08 UTC 2017

Hi Philippe

> On Oct 10, 2017, at 3:55 AM, Philippe Marschall <pm at netcetera.ch> wrote:
> Hello
> The API uses long milliseconds as timeouts in various places. I was wondering whether any thought was given to using a java.time.Duration instead?

This has not come up previously.  We can add it as a discussion point for JDBC.next

> This would be type safe.
> Cheers
> Philippe

 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>

More information about the jdbc-spec-discuss mailing list