Hello,
Is there a way to create automatically updating last modified timestamp field. It is done in mysql like this:
create table test (
modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
name VARCHAR(20)
);
How to do this in H2?
This does not work:
"TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE SET DEFAULT"
it translates to:
"TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON[*] UPDATE SET DEFAULT"
and it fails.