[h2] Re: Updating a current column with an old column using triggers without exception StackOverflowError
Hello! If you need to modify this row in your trigger, you must change values in the newRow array directly: newRow[/* 0-based column index */] = OffsetDateTime.now(); -- 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 h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/136b7d23-0894-4e1a-b913-a51a5553bf3dn%40googlegroups.com.
[h2] Updating a current column with an old column using triggers without exception StackOverflowError
I'm trying to update a column using the old row with triggers. But when I try updating the trigger loops infinitelly. I have the same exemple with updating timestamp on my github.[image: IMG-20240327-WA.jpg] https://github.com/pddec/loop -- 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 h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/692f143d-8ce1-4ac1-861d-2da3e0cf07fcn%40googlegroups.com.