Re: [h2] "Unique index or primary key violation" at concurrent insers (MULTI_THREADED)

2016-12-09 Thread Anatolii K
Great, thanks! > > > -- 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 post to this group, send email to

[h2] "Unique index or primary key violation" at concurrent insers (MULTI_THREADED)

2016-12-08 Thread Anatolii K
Hi I've attached test which generates the exception if MULTI_THREADED=1: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "PRIMARY KEY ON PUBLIC.TRAN"; SQL statement: INSERT INTO tran (id) values(?) [23505-193] at