Discussion:
[Liquibase-user] New Topic: Liquibase 2.0.1 and Oracle DB - I can't get it to work
Liquibase Community Forum
2011-02-01 19:22:55 UTC
Permalink
A new topic, 'Liquibase 2.0.1 and Oracle DB - I can't get it to work', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=1041.new#new

The text of the topic is shown below:

I have been using liquibase to update my database for a few months now and ran into some issues on a different machine using liquibase. I decided to try upgrading to the latest and greatest liquibase version to see if I could bypass the issue and now I am getting errors on my current setup.

Here is the stack trace

build.xml:657: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Unsupported feature
at liquibase.database.AbstractDatabase.getDatabaseMajorVersion(AbstractDatabase.java:145)
at liquibase.Liquibase.setDatabasePropertiesAsChangelogParameters(Liquibase.java:720)
at liquibase.Liquibase.setDatabase(Liquibase.java:78)
at liquibase.Liquibase.<init>(Liquibase.java:63)
at liquibase.integration.ant.BaseLiquibaseTask.createLiquibase(BaseLiquibaseTask.java:181)
at liquibase.integration.ant.DatabaseUpdateTask.execute(DatabaseUpdateTask.java:33)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: Unsupported feature
at liquibase.database.jvm.JdbcConnection.getDatabaseMajorVersion(JdbcConnection.java:43)
at liquibase.database.AbstractDatabase.getDatabaseMajorVersion(AbstractDatabase.java:143)
... 21 more
Caused by: java.sql.SQLException: Unsupported feature
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:690)
at oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion(OracleDatabaseMetaData.java:4451)
at liquibase.database.jvm.JdbcConnection.getDatabaseMajorVersion(JdbcConnection.java:41)
... 22 more


I thought that maybe it was my oracle database driver but I continue to get the error even after updating my driver files to be 11g drivers. My actual database is 10g, does liquibase 2.0.1 require an 11g database? Any insights into the problem would help.

Thanks.

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.

Loading...