I am trying to run generchangeChangeLog on an existing derby database. There are several tables in it.
c: \ projects \ core \ cams> java -jar lib \ liquibase.jar - classpath = derby.jar; derbyclient.jar --driver = Org.apache.derby.jdbc.EmbeddedDriver --url = "jdbc: derby: CAMSDB" --changeLogFile = db-changelog.xml --logLevel = debug --logFile = log.txt Jnaretechenjog` The resultant output indicates success: information 13/03/15 14:27: Libbybase: Classic slabbase. Serializer.core.json.JsonChangeLogSerializer can not be used as a Likibej service liquibase: because org.yaml.snake yaml.representer.Representer classpath information is not 03/13/15 14:27 a liquibase service because org.yaml as .yaml.YamlChangeLogSerializer liquibase. Can not use serializer.core class Snake Yamel. Displayer. The display is not in the classpath. Likibase 'GenerationLog' is not successful
Debug trace is:
DEBUG 13/03/15 14:27: LiquidBase: @ JDBC connected to APP : Derby: Cmdb DBUG 13/03/15 14:27: Liqubebase: True debug on mit by auto-com setting 13/03/15 14:27: liquibase: Execute query database command: current schema selection from sysibm.sysdummy1 debug 13 / 03/15 14:27: liquibase: Count to 1,426,256,831,398 information as 0815fc1f3d5660bee0ff4ef70e42471d 13 checksum / 03/15 14:27: liquibase: db-changelog.xml does not exist, create Debug 13/03/15 14:27 : Ltd Kvibes: Missing Object Change generator type Order: liquibase.structure.core.Catalog.Liquibase.structure.core.Schema liquibase .structure.core.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core .Column liquibase.structure.core.PrimaryKey liquibase.structure.core.UniqueConstraint liquibase.structure.core.ForeignKey liquibase. Structure.core.Index liquibase.structure.core.View Debug 13/03/15 14:27: liquibase: UnexpectedObjectChangeGenerator type command: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.structure.core.Schema liqui Beskstrccrkkorkstoredprosedure Likvibsekstrccrkkorkunikekstrent Likvibsekstrccrkkorkwu Likvibsekstrccrkkorktebl Likvibsekstrccrkkorkprimrike Likvibsekstrccrkkorkcolm Likvibsekstrccrkkorkindeks Likvibse .structure.core.Sequence Debug 13/03/15 14:27: liquibase: ChangedObjectChangeGenerator type command: liquibase.structure.core.atalog liquibase.structure.core.ForeignKey liquibase.structure.core.Schema liquibase.structure.core.Sequence Likvibsekstrccrkkorkstoredprosedure Likvibsekstrccrkkorktebl Likvibsekstrccrkkorkcolm Likvibsekstrccrkkorkprimrike Likvibsekstrccrkkorkindeks Likvibsekstrccrkkorkunikekstrent Likvibseksatru Cture.core.View information 13/03/15 14:27: Liqubebase: Closing the derby connection: JDBC: Derby: CAMSDB; Shutdown = True
But the XML file created is quite empty
Can anyone here make any suggestion to help me?
You have put in the snakeyaml jar in the classpath. There should be a cemented jar in the Liqubebase.
java-jab lib / liquibase-core-3.4.2.jar - driver = com.mysql.jdbc.Driver --classpath = lib / mysql-connector-java-5.1.38. Jar: lib / snakeyaml-1.16.jar --changeLogFile = 000-initial-schema.xml --url = "jdbc: mysql: //127.0.0.1: 3306 / db" - username = root --password = generate change log
missing line
-classpath = lib / mysql-connector-java-5.1.38.jar: lib / snakeyaml-1.16.jar
No comments:
Post a Comment