I have already debuged the code. I think there is a problem with jdbc driver
for db2 v.8.2.
The metadata results is being returned as empty list via JDBC. I'll try to
get these metadata informations with pure jdbc code.
I let you know about result.
Post by Voxland, NathanIt does appear you are sending your command correctly. I think it may be
related to
http://sourceforge.net/tracker/index.php?func=detail&aid=1991161&group_id=187970&atid=923443<
https://owa.mse15.exchange.ms/exchweb/bin/redir.asp?URL=http://sourceforge.net/tracker/index.php?func=detail%26aid=1991161%26group_id=187970%26atid=923443>
, probably caused by bug in the Diff class that is specific to DB2.
If you have time and can debug though the code that would be great,
otherwise I can take a look at it.
Nathan
________________________________
Sent: Thu 9/18/2008 9:10 AM
Subject: Re: [Liquibase-user] help : I couldn't run generateChangeLog for db2
I'm using liquibase 1.8.0. <http://1.8.0./> I have checkouted the source
codes. if I use --logLevel=FINEST,
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.8"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.liquibase.org/xml/ns/dbchangelog/1.8
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.8.xsd"/>
18.Eyl.2008 17:00:19 liquibase.database.structure.SqlDatabaseSnapshot updateListeners
18.Eyl.2008 17:00:19 liquibase.database.structure.SqlDatabaseSnapshot updateListeners
10.10.20.240:50005/COSM (Default Schema: TANER) ...
18.Eyl.2008 17:00:19 liquibase.database.structure.SqlDatabaseSnapshot updateListeners
10.10.20.240:50005/COSM (Default Schema: TANER) ...
18.Eyl.2008 17:00:19 liquibase.database.structure.SqlDatabaseSnapshot updateListeners
18.Eyl.2008 17:00:20 liquibase.database.structure.SqlDatabaseSnapshot updateListeners
18.Eyl.2008 17:00:20 liquibase.database.structure.SqlDatabaseSnapshot updateListeners
Schema: TANER) ...
Additionaly, I checkouted the source codes and debuged.In
liquibase.database.structure.SqlDatabaSnapshot, the metadata resultsets are
returned empty.
I updated db2 from v7 to v8.2 for empty metadata results. But it didn't be fixed.
On Thu, Sep 18, 2008 at 4:35 PM, Voxland, Nathan <
Which version of liquibase are you using? Are you using -logLevel
SEVERE or -logLevel=SEVERE ? (it should have the = sign). Are you getting
any logging at all outputted? What if you use --logLevel=FINEST ?
Nathan
Sent: Thursday, September 18, 2008 7:31 AM
Subject: [Liquibase-user] help : I couldn't run generateChangeLog for db2
Hi all,
I try to generate change log of db2 database. When I run the
command, It doesn't throw any exception but finish immediately with empty
changelog.xml.
liquibase.bat --driver=COM.ibm.db2.jdbc.app.DB2Driver
--classpath="c:/java/libs/db2java.zip;c:/java/libs/db2jcc.jar;c:/java/libs/db2jcc_license_cu.jar"
--changeLogFile=c:/ibm.db2.changelog.xml --url="jdbc:db2:COSM_TMP"
--defaultSchemaName=TANER --username=pass --password=test --logLevel SEVERE
--logFile=c:/db2.log generateChangeLog
or
liquibase.bat --driver=com.ibm.db2.jcc.DB2Driver
--classpath="c:/java/libs/db2java.zip;c:/java/libs/db2jcc.jar;c:/java/libs/db2jcc_license_cu.jar"
--changeLogFile=c:/ibm.db2.changelog.xml --url="jdbc:db2://
127.0.0.1:50000/COSM_TMP" --defaultSchemaName=TANER --username=pass
--password=test --logLevel SEVERE --logFile=c:/db2.log generateChangeLog
I use DB2 version 8.2
Is there any problem with execution command or am I missing any configuration?
Thank you.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
https://lists.sourceforge.net/lists/listinfo/liquibase-user
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
https://lists.sourceforge.net/lists/listinfo/liquibase-user