Re: [h2] H2DB breaks GraalVM native image production

2022-01-05 Thread Noel Grandin
You're missing the the JTS geometry classes Caused by: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: org.locationtech.jts.geom.Geometry. To diagnose the issue you can use

[h2] H2DB breaks GraalVM native image production

2022-01-05 Thread Behrang
Hi, I am working on a small project where I use h2db as an embedded database. I want to compile this project using graalvm and use the produced binary. However the dependency breaks the build. Are there any workarounds available? *Sample build log:* $ mvn -Pnative clean package [INFO]

Re: [h2] Re: Create table error in 2.x, unsure how to interpret: expected "IDENTITY, BIGSERIAL, SERIAL, data type"

2022-01-05 Thread Vladimir Dzhuvinov
Thanks Andrei. I wasn't aware the "[*]" had that significance. I posted a suggestion in the H2 website git repo to consider indicating the applicable H2 version on the top of the ref pages. On Wed, 5 Jan 2022 at 03:35, Andrei Tokar wrote: > Hi Vladimir, > > Please take a look at your error