LOL, I just read the execute() javadoc again and found: *Merge* : the result may have no meaning
Guess that answers my question ;-) I missed it before, because I did not trigger on "merge". Regards, Paul On Tuesday, October 3, 2017 at 11:16:50 AM UTC+2, Paul Hamer wrote: > > Hi, > > I'm using the following construct: > > int count = dsl.insertInto(...) > .set(...) > .set(...) > .onDuplicateKeyUpdate() > .set(...) > .execute(); > > My question is, what will "count" contain? The number of added rows, or > the number of updated rows? Or perhaps the sum of both? I can't seem to > find it in the documentation. > > Kind regards, > Paul > -- 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.
