I would like to use "insert or update" on a record to either insert a new 
record if it does not exist or update if it does.

I have following table:

object_id  bigint not null,
language   char(3) not null,
content    text

Primary key is: (object_id, language)

If I use store() on a newly created and filled record, I'll get a violation 
exception if the primary key already exists. But I can't use update(), 
since I don't know if this record already exists.

What is the preferred JOOQ way to do this?

-- 
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