Hello,

It would be great to be able to fetch generated IDs (or to emulate INSERT
.. RETURNING in general) via JDBC batch statements, but so far, we haven't
found an easy way to do so. There's a pending feature request to track
this, but I'm not very optimistic that it is even implementable:
https://github.com/jOOQ/jOOQ/issues/3327

Cheers,
Lukas

2015-07-02 18:37 GMT+02:00 <[email protected]>:

> If I do record.insert(), the record gets updated with the newly generated
> row id.
> However in case of a batchInsert, all records don't get updated and the id
> is still null afterwards.
> Is this intended behaviour?
>
> --
> 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