Hello,

2013/9/5 Eric Schwarzenbach <[email protected]>

> I'm currently using DSL to dynamicly generate some statements for
> attachment and execution later. For example DSL.select(...).
>
> I were instead using an attached DSLContext I would create my delete
> statements with something like create.deleteQuery(...) (where create is a
> DSLContext). But I see no way to do the equivalent of this with DSL. Am I
> missing something or is this just an omission in the API?
>

This will be fixed in jOOQ 3.2:
https://github.com/jOOQ/jOOQ/issues/1903


> Is there some other way (other then creating raw sql) to create a
> DeleteQuery for attachement and execution later?
>

Yes, in pre-3.2 you can to resort to using a "dummy" configuration:

DSL.using(new DefaultConfiguration()).delete(...)
DSL.using(ORACLE).delete(...)

The DSL.delete(...) "shortcut" that you are looking for will do precisely
the above.

Hope this helps.
Lukas

-- 
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/groups/opt_out.

Reply via email to