Christian, you could implement your use case also as a before trigger.
There you could simply put your modified timestamp into the newRow array
and H2 will consider that as part of the update.
Can you give an exact definition to your term "current command"?
Or maybe the scope of current command.
I am quessing you mean one single statement and all statements that are
somehow triggered by it.
- rami
30.11.2011 15:41, Christian Bauer kirjoitti:
On Nov 30, 2011, at 14:39 , Noel Grandin wrote:
So, yes, your use-case is tricky to implement, but it's sufficiently rare that
it's not worth complicating the Trigger
API for it.
Seriously? This is the ONLY trigger example in a whole 800 page book I'm
writing about persistence and you think updating a last modified column is
rare? Actually, don't answer that...
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to h2-database@googlegroups.com.
To unsubscribe from this group, send email to
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.