OraOpenSource / apex-diff

APEX Diff
MIT License
31 stars 6 forks source link

Invalid column type: getOracleObject not implemented for class oracle.jdbc.driver.T4CResultSetAccessor #19

Closed ashleyghooper closed 7 years ago

ashleyghooper commented 7 years ago

I'm trying to use apex-diff to diff an application in an Apex 5.0.4.00.12 running on an Oracle 11.2.0.3 database. The versions of the apex-diff dependencies I'm using are:

$ sql -V
SQLcl: Release 4.2.0.16.049.0842 RC

and

$ nodejs --version
v4.2.6

When I start the application I get the following error:

Invalid column type: getOracleObject not implemented for class oracle.jdbc.driver.T4CResultSetAccessor

And the items key in the generated json output file is totally empty. The error seems to stem from using the vitally important : set sqlformat json

If I comment that line, the script runs without error and generates a 40 MB file of output in the sqlcl 'default' format.

ashleyghooper commented 7 years ago

I've also tried with node 0.12.18 and get the same result.

ashleyghooper commented 7 years ago

Updating to sqlcl 4.2.0.17.097.0719 seems to have fixed this.