Hello,

I have a table ( id PK, name TEXT, discovered TIMESTAMP, attributes TEXT); 
I insert/update into this DB with merge.

The problem, I only want to set discovered TIMESTAMP on INSERT, and edit 
attributes on UPDATE. Impossible with h2db I assume ? I must use 2 
different query ? if auto generate key returned, then it was an INSERT, so 
I update discovered TIMESTAMP, else it's update, nothing more to do. 

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to