Hello,

This is currently not possible out of the box, but it's a very good idea. I
have registered a feature request for this:
https://github.com/jOOQ/jOOQ/issues/4941

What you can do, though, is parse the CSV content yourself, add the
additional value yourself, and feed the content to loadArrays():
http://www.jooq.org/javadoc/latest/org/jooq/LoaderSourceStep.html#loadArrays-java.util.Iterator-

As loadArrays() supports an Iterator, you can stream your CSV data into the
database without loading it all into your memory.

Hope this helps,
Lukas

2016-01-15 15:46 GMT+01:00 <[email protected]>:

> Hello,
>
> I'd like to use loadCSV, is it possible insert rows using data from the
> csv and from a literal. let me explain :
>
> The lines are formatted like this in the csv :
> name,date,price
>
> I'd like to save them in a table with theses columns :
> importid,name,date,price
>
> Do anybody have an idea for how i can try to implement this ?
>
> Thank you,
>
> --
> 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