Hi…
I am trying the ‘GenerateChangeLog’ option to the current SAP HANA Database.
Properties File:
driver: com.sap.db.jdbc.Driver
classpath: D:\liquibase-3.5.3-bin\driver\ngdbc.jar
changeLogFile: D:\Liquibase-3.5.3-bin\xml_source\HANAInstanceDef.xml
url: jdbc:sap://localhost:30041/
username: VIRTEST_SYS
password: Password
logLevel=DEBUG
logFile=HANA_log.txt
defaultSchemaName=VIRTEST_SYS
defaultCatalogName=SYS
Execution:
liquibase --defaultsFile=“liquibase.properties” GenerateChangeLog
DEBUG 4/12/17 9:06 PM: liquibase: Connected to VIRTEST_SYS@jdbc:sap://localhost:30041
DEBUG 4/12/17 9:06 PM: liquibase: Setting auto commit to false from true
DEBUG 4/12/17 9:06 PM: liquibase: Computed checksum for 1492031201113 as 2b8096c98b7d9d0fbc76189789100efc
WARNING 4/12/17 9:06 PM: liquibase: Did not find catalog ‘DEFAULT’ to snapshot
SEVERE 4/12/17 9:06 PM: liquibase: liquibase.exception.DatabaseException: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [362] (at 57): invalid schema name: INFORMATION_SCHEMA: line 1 col 58 (at pos 57)
liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.DatabaseException: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [362] (at 57): invalid schema name: INFORMATION_SCHEMA: line 1 col 58 (at pos 57)
... 3 more</div></div>
-------------
I tried changing default schema and catalogs (as seen in the above properties file), but the error remains the same. Any suggestions/guidance is much appreciated.
Thanks & Regards,
Virendra