You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to use the liquibase-spatial plugin with my H2 unit tests. The first thing my unit tests always do is to drop all tables in the database, using the dropAll Liquibase method which works just fine until I try to get things working to support spatial data. When I enable this I get the error: Failed to determine is the table has a geometry column.
My pom is copied below and I can provide any additional information.
I'd like to get this working so we can continue to use H2 in our test environments.
Thank you very, very much,
Tim
4.0.0
com.digitalglobe.databaseMigration
databaseMigration
1.0-SNAPSHOT
jar
UTF-8
com.github.lonnyj
liquibase-spatial
1.0.0
com.h2database
h2
1.4.178
test
org.liquibase
liquibase-core
3.1.1
test
junit
junit
4.10
test
The text was updated successfully, but these errors were encountered:
TimWalker
changed the title
Liquibase.dropAll error: Failed to determine is the table has a geometry column...
Liquibase.dropAll error: Failed to determine if the table has a geometry column...
Jun 12, 2014
Do you have an exception that you can include? I'm guessing that the database isn't spatialized so a query is failing on geometry_columns. I've committed a change. Please give that a try if you can and see if that fixes the problem.
Do you have an exception that you can include? I'm guessing that the
database isn't spatialized so a query is failing on geometry_columns.
I've committed a change. Please give that a try if you can and see if that
fixes the problem.
—
Reply to this email directly or view it on GitHub #1 (comment)
.
Hi,
I am attempting to use the liquibase-spatial plugin with my H2 unit tests. The first thing my unit tests always do is to drop all tables in the database, using the dropAll Liquibase method which works just fine until I try to get things working to support spatial data. When I enable this I get the error: Failed to determine is the table has a geometry column.
My pom is copied below and I can provide any additional information.
I'd like to get this working so we can continue to use H2 in our test environments.
Thank you very, very much,
Tim
4.0.0
com.digitalglobe.databaseMigration
databaseMigration
1.0-SNAPSHOT
jar
databaseMigration
UTF-8 com.github.lonnyj liquibase-spatial 1.0.0 com.h2database h2 1.4.178 test org.liquibase liquibase-core 3.1.1 test junit junit 4.10 testhttp://maven.apache.org
The text was updated successfully, but these errors were encountered: