Hi Garret,

The DEFAULT keyword is on the roadmap for jOOQ 3.4.0:
https://github.com/jOOQ/jOOQ/issues/1061

This is only a matter of finding a meaningful way to name the DSL method,
as "default" is a keyword in Java and cannot be used. We ran into this
before with CASE (which we've named decode), ELSE (otherwise) and FOR (on).
A more elaborate discussion can be seen here:
https://groups.google.com/d/msg/jooq-user/h9qDY83H5gg/WI2XSjnidlMJ

Suggestions are very welcome.

Lukas


2014-04-14 18:09 GMT+02:00 Garret Wilson <[email protected]>:

> I saw blog 
> post<http://blog.jooq.org/2014/01/08/lesser-known-sql-features-default-values/>saying
>  that jOOQ supports
> defaultValues() for an entire record when doing an insert. But what if a
> single value should be DEFAULT? Does jOOQ support the DEFAULT keyword?
>
> See e.g. a FAQ on PostgreSQL 
> sequences<http://www.neilconway.org/docs/sequences/>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to