This now works. Output looks as follows
Buildfile: build.xml
[dumpMetadata] Could not dump property getResultSetHoldability because
of null
[dumpMetadata] Could not dump property supportsNamedParameters because
of null
[dumpMetadata] Could not dump property supportsMultipleOpenResults
because of null
[dumpMetadata] Could not dump property supportsGetGeneratedKeys because
of null
[dumpMetadata] Could not dump property getDatabaseMajorVersion because
of null
[dumpMetadata] Could not dump property getDatabaseMinorVersion because
of null
[dumpMetadata] Could not dump property getJDBCMajorVersion because of null
[dumpMetadata] Could not dump property getJDBCMinorVersion because of null
[dumpMetadata] Could not dump property getSQLStateType because of null
[dumpMetadata] Could not dump property locatorsUpdateCopy because of
oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z
[dumpMetadata] Could not dump property supportsStatementPooling because
of oracle.jdbc.driver.OracleDatabaseMetaData.supportsStatementPooling()Z
[dumpMetadata] Reading table MY_SCHEMA.TABLE1
[dumpMetadata] Reading table MY_SCHEMA.TABLE2
[dumpMetadata] ....
BUILD SUCCESSFUL
Reading the model from the API still fails due to the NPE when reading
the indexes.
Tim
Thomas Dudziak wrote:
On 1/23/06, Tim Dudgeon <[EMAIL PROTECTED]> wrote:
<snip>
Looks like a driver version issue? Which driver version are you using?
I'm using the ojdbc14.jar, but I think there are multiple versions of this?
In general you should use the newest driver available (which is the
driver for version 10). However, I just made the task a bit more
robust in this regard, so please update DdlUtils and run the dump task
again with the setup that you have.
Tom