Guest User

Untitled

a guest
Jul 24th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. C:>java -jar liquibase-core-2.0.5.jar --driver=oracle.jdbc.OracleDriver
  2. --classpath=ojdbc6-11.2.0.3.0.jar --changeLogFile=changelog.xml
  3. --url="jdbc:oracle:thin:@myDatabase"
  4. --username=myUsername --password=myPassword --logLevel=debug update
  5.  
  6. DEBUG 9/30/13 3:09 PM:liquibase: Unable to load/access Apache Derby driver class
  7. to check version
  8. DEBUG 9/30/13 3:09 PM:liquibase: Connected to myUsername@jdbc:oracle:thin:@myDatabase
  9. DEBUG 9/30/13 3:10 PM:liquibase: Executing QUERY database command: SELECT LOCKED
  10. FROM DATABASECHANGELOGLOCK WHERE ID=1 FOR UPDATE
  11. Liquibase Update Failed: Empty result set, expected one row
  12. SEVERE 9/30/13 3:10 PM:liquibase: Empty result set, expected one row
  13. liquibase.exception.LockException: liquibase.exception.DatabaseException: Empty
  14. result set, expected one row
  15. at liquibase.lockservice.LockService.acquireLock(LockService.java:121)
  16. at liquibase.lockservice.LockService.waitForLock(LockService.java:61)
  17. at liquibase.Liquibase.update(Liquibase.java:102)
  18. at liquibase.integration.commandline.Main.doMigration(Main.java:825)
  19. at liquibase.integration.commandline.Main.main(Main.java:134)
  20. Caused by: liquibase.exception.DatabaseException: Empty result set, expected one
  21. row
  22. at liquibase.util.JdbcUtils.requiredSingleResult(JdbcUtils.java:124)
  23. at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:
  24. 159)
  25. at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:
  26. 167)
  27. at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:
  28. 163)
  29. at liquibase.lockservice.LockService.acquireLock(LockService.java:96)
  30. ... 4 more
  31.  
  32. Caused by: liquibase.exception.DatabaseException: Expected single row from
  33. liquibase.statement.core.GetViewDefinitionStatement@1de5f25 but got 0`
Add Comment
Please, Sign In to add comment