"CREATE TABLE IF NOT EXISTS states ("
+ "time TIMESTAMP,"
+ "state INT,"
+ "test VARCHAR,"
+ "test12 VARCHAR,"
+ "CONSTRAINT latest_pk PRIMARY KEY (test,test12),"
");
MERGE INTO states(time,state,test,test12)" +
" KEY(test,test12) VALUES(?,?,?,?)"
,timestamp,2,"<test>abc</test>","<test12>abc12</test12>");
This doesn't seem to work incase of an update. Inserts are happening fine.
Is there something wrong with the statement?
Inserts are working fine. But updates are not.
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.