Hello.
On Sunday, 4 August 2019 23:48:40 UTC+8, Piotr wrote:
>
> I've created trigger:
>
> CREATE TRIGGER update_date Before INSERT ON notes FOR EACH ROW CALL
> TriggerBeforeInsert.class.getName()
>
> I would like to set the version field to 1 whenever a new record is
> inserted. Here is the code for the Trigger:
>
> public class TriggerBeforeUpdate implements Trigger {
>
>
TriggerBeforeInsert and TriggerBeforeUpdate are different classes.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/h2-database/9fb76b3a-aec6-4aa3-b81f-a880d18584b0%40googlegroups.com.