[h2] Re: H2 Trigger doesn't Trigger properly

2019-08-04 Thread Evgenij Ryazanov
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

[h2] H2 Trigger doesn't Trigger properly

2019-08-04 Thread Piotr
I'm Trying to create an H2 Trigger which should trigger before an Insert query is executed. My Entity looks like this: @Entity @Table(name="Notes") public class Notes { @Id @GeneratedValue(strategy=GenerationType.SEQUENCE) @Column(name="id") private int id; @Column(name="version") private int

[h2] H2 Trigger doesn't Trigger properly

2019-08-04 Thread Piotr
I'm Trying to create an H2 Trigger which should trigger before an Insert query is executed. My Entity looks like this: @Entity @Table(name="Notes") public class Notes { @Id @GeneratedValue(strategy=GenerationType.SEQUENCE) @Column(name="id") private int id; @Column(name="version") private int

Re: [h2] Copyright notice

2019-08-04 Thread Noel Grandin
https://h2database.com/html/license.html -- 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

[h2] Copyright notice

2019-08-04 Thread Maya Bickson
Hi, I'm looking for the copyright notice of H2 Database, to include with the list of 3rd party components our product (harmon.ie) is using. Could you please help me with this? I couldn't find it nowhere. Thanks! Maya -- You received this message because you are subscribed to the Google Groups

[h2] Re: error

2019-08-04 Thread Evgenij Ryazanov
Hello. It's just a bad error message, it shouldn't mention the IFEXISTS parameter. The next version will throw a better message. Recent versions of H2 don't allow remote creation of databases any more due to security reasons. You need to create the new empty database in some other way.

[h2] error

2019-08-04 Thread Binay Jaiswal
Database "C:/Users/binay/test" not found, and IFEXISTS=true, so we cant auto-create it [90146-199] 9014 -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To