Thanks Lukas!

On Wednesday, April 18, 2012 3:11:47 PM UTC-5, Lukas Eder wrote:
>
> Hello Ian
>
> > I now see that timestamp arithmetic is supported, but I'm not quite sure 
> how
> > to do this using it... would you mind clarifying?
>
> Yes, I guess there should be a section in the manual about this.
> In the meantime, do it like this:
>
> .set(RssDestinationSources.NEXT_POLL_AFTER,
>     Factory.currentTimestamp().add(new DayToSecond(0, 1)));
>
> This reflects the SQL standard as implemented in Oracle and Postgres,
> for instance. It is close to MySQL syntax...
>
> You will find some more information in the Javadocs of the add()
> method, or of the Interval type:
> http://www.jooq.org/javadoc/latest/org/jooq/types/Interval.html
>
> Cheers
> Lukas
>
>

Reply via email to