Hi everyone,

I'm wondering what is the correct syntax for generating a query that has 
SQL 

on duplicate key update `column_name`=VALUES(`column_name`)

? When I try to use onDuplicateKeyUpdate.set(column_name, column_name) it 
generates 

on duplicate key update `column_name`=`column_name`

which does not update an existing row with new values when inserting into 
the table.

Thank you
Chen 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/9171bbfe-2872-4e39-860a-cd34d7632ed7n%40googlegroups.com.

Reply via email to