liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented

JIRA | Eric Lemanissier | 3 years ago
  1. 0

    Liquibase update fails with "liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented" on sqlite database with the following changeset <changeSet author="XXXX" id="XXXXXX-28"> <addColumn tableName="measures"> <column name = "type" type="SMALLINT UNSIGNED" valueNumeric="0"/> </addColumn> </changeSet> The update runs successfully without the attribute valueNumeric. log message: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented at liquibase.snapshot.jvm.IndexSnapshotGenerator.addTo(IndexSnapshotGenerator.java:175) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:72) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:89) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:157) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:170) at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:116) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:103) at liquibase.snapshot.DatabaseSnapshot.<init>(DatabaseSnapshot.java:34) at liquibase.snapshot.JdbcDatabaseSnapshot.<init>(JdbcDatabaseSnapshot.java:20) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:125) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:121) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:109) at liquibase.database.core.SQLiteDatabase.getAlterTableStatements(SQLiteDatabase.java:159) at liquibase.sqlgenerator.core.AddColumnGeneratorSQLite.generateSql(AddColumnGeneratorSQLite.java:67) at liquibase.sqlgenerator.core.AddColumnGeneratorSQLite.generateSql(AddColumnGeneratorSQLite.java:19) at liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30) at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:198) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22) at liquibase.executor.jvm.JdbcExecutor.access$000(JdbcExecutor.java:30) at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:80) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:50) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:103) at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1513) at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1496) at liquibase.changelog.ChangeSet.execute(ChangeSet.java:343) at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:40) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:64) at liquibase.Liquibase.update(Liquibase.java:137) at liquibase.integration.commandline.Main.doMigration(Main.java:864) at liquibase.integration.commandline.Main.main(Main.java:133) Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:72) at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getIndexInfo(JdbcDatabaseSnapshot.java:101) at liquibase.snapshot.jvm.IndexSnapshotGenerator.addTo(IndexSnapshotGenerator.java:152) ... 36 more Caused by: java.sql.SQLException: not yet implemented at org.sqlite.MetaData.getIndexInfo(MetaData.java:506) at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$2.fastFetch(JdbcDatabaseSnapshot.java:148) at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:50) ... 38 more

    JIRA | 3 years ago | Eric Lemanissier
    liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented
  2. 0

    Liquibase update fails with "liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented" on sqlite database with the following changeset <changeSet author="XXXX" id="XXXXXX-28"> <addColumn tableName="measures"> <column name = "type" type="SMALLINT UNSIGNED" valueNumeric="0"/> </addColumn> </changeSet> The update runs successfully without the attribute valueNumeric. log message: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented at liquibase.snapshot.jvm.IndexSnapshotGenerator.addTo(IndexSnapshotGenerator.java:175) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:72) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:89) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:157) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:170) at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:116) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:103) at liquibase.snapshot.DatabaseSnapshot.<init>(DatabaseSnapshot.java:34) at liquibase.snapshot.JdbcDatabaseSnapshot.<init>(JdbcDatabaseSnapshot.java:20) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:125) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:121) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:109) at liquibase.database.core.SQLiteDatabase.getAlterTableStatements(SQLiteDatabase.java:159) at liquibase.sqlgenerator.core.AddColumnGeneratorSQLite.generateSql(AddColumnGeneratorSQLite.java:67) at liquibase.sqlgenerator.core.AddColumnGeneratorSQLite.generateSql(AddColumnGeneratorSQLite.java:19) at liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30) at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:198) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22) at liquibase.executor.jvm.JdbcExecutor.access$000(JdbcExecutor.java:30) at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:80) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:50) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:103) at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1513) at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1496) at liquibase.changelog.ChangeSet.execute(ChangeSet.java:343) at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:40) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:64) at liquibase.Liquibase.update(Liquibase.java:137) at liquibase.integration.commandline.Main.doMigration(Main.java:864) at liquibase.integration.commandline.Main.main(Main.java:133) Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:72) at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getIndexInfo(JdbcDatabaseSnapshot.java:101) at liquibase.snapshot.jvm.IndexSnapshotGenerator.addTo(IndexSnapshotGenerator.java:152) ... 36 more Caused by: java.sql.SQLException: not yet implemented at org.sqlite.MetaData.getIndexInfo(MetaData.java:506) at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$2.fastFetch(JdbcDatabaseSnapshot.java:148) at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:50) ... 38 more

    JIRA | 3 years ago | Eric Lemanissier
    liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: not yet implemented
  3. 0

    java.sql.SQLException shown unnecessarily

    YouTrack | 5 years ago
    java.sql.SQLException: not yet implemented
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [1.2.4] SQLite and Hibernate GenericJDBCException : could not get table metadata

    Google Groups | 5 years ago | Guillaume Maucomble
    java.sql.SQLException: not yet implemented*
  6. 0

    java.sql.SQLException shown unnecessarily

    YouTrack | 5 years ago
    java.sql.SQLException: not yet implemented

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      not yet implemented

      at org.sqlite.MetaData.getIndexInfo()
    2. SQLite JDBC
      MetaData.getIndexInfo
      1. org.sqlite.MetaData.getIndexInfo(MetaData.java:506)
      1 frame
    3. Liquibase Core
      Main.main
      1. liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$2.fastFetch(JdbcDatabaseSnapshot.java:148)
      2. liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:50)
      3. liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getIndexInfo(JdbcDatabaseSnapshot.java:101)
      4. liquibase.snapshot.jvm.IndexSnapshotGenerator.addTo(IndexSnapshotGenerator.java:152)
      5. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:72)
      6. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42)
      7. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62)
      8. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42)
      9. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62)
      10. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42)
      11. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62)
      12. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42)
      13. liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:89)
      14. liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:157)
      15. liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:170)
      16. liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:116)
      17. liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:103)
      18. liquibase.snapshot.DatabaseSnapshot.<init>(DatabaseSnapshot.java:34)
      19. liquibase.snapshot.JdbcDatabaseSnapshot.<init>(JdbcDatabaseSnapshot.java:20)
      20. liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:125)
      21. liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:121)
      22. liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:109)
      23. liquibase.database.core.SQLiteDatabase.getAlterTableStatements(SQLiteDatabase.java:159)
      24. liquibase.sqlgenerator.core.AddColumnGeneratorSQLite.generateSql(AddColumnGeneratorSQLite.java:67)
      25. liquibase.sqlgenerator.core.AddColumnGeneratorSQLite.generateSql(AddColumnGeneratorSQLite.java:19)
      26. liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30)
      27. liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:198)
      28. liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22)
      29. liquibase.executor.jvm.JdbcExecutor.access$000(JdbcExecutor.java:30)
      30. liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:80)
      31. liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:50)
      32. liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:103)
      33. liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1513)
      34. liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1496)
      35. liquibase.changelog.ChangeSet.execute(ChangeSet.java:343)
      36. liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:40)
      37. liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:64)
      38. liquibase.Liquibase.update(Liquibase.java:137)
      39. liquibase.integration.commandline.Main.doMigration(Main.java:864)
      40. liquibase.integration.commandline.Main.main(Main.java:133)
      40 frames