Re: [h2] Userdefined functions and synchronized

2024-02-27 Thread Toolforger
Not an H2 question but a multithreading-in-Java question. I have answers but don't want to go off-topic; anybody with an interest in answers (including Olaf) can contact me directly via toolfor...@durchholz.org . Regards, Jo -- You received this message because you are subscribed to the Googl

[h2] Userdefined functions and synchronized

2024-02-27 Thread 'Olaf van der Meer' via H2 Database
Hi, I am using some user defined functions like this: public static boolean isPrime(int value) { return BigInteger.valueOf(value).isProbablePrime(100); } public static ResultSet query(Connection conn, String sql) throws SQLException { return conn.createStatement().ex