Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H2 version supported ? #23

Open
lcanet opened this issue Aug 20, 2015 · 1 comment
Open

H2 version supported ? #23

lcanet opened this issue Aug 20, 2015 · 1 comment

Comments

@lcanet
Copy link

lcanet commented Aug 20, 2015

When running geodb-0.8 with an embedded H2 version 1.4.185, dropping an indexed spatial table produces an error :
org.h2.jdbc.JdbcSQLException: General error: "java.lang.AbstractMethodError: net.sourceforge.hatbox.jts.InsertTrigger.remove()V"; SQL statement:
DROP TABLE "carto"."test" CASCADE [50000-185]

What is the minimum/maximum H2 version supported by geodb ? Any plan to upgrade ?

@jdeolive
Copy link
Owner

It looks like the Trigger api in H2 was modified in 1.2.129, so the highest possible version of H2 that will work with the code as is will be 1.2.128. This is pretty ancient by now so yeah, definitely an upgrade is in order :).

The issue itself is in the hatbox library, another dependency of geodb. It looks like it has been addressed with version 1.0b8 though. You could dropping in that version and things might just work. I'll create a ticket for the upgrade though since it's well overdue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants