Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-241

Oracle 9i : Unknown JDBC type code -102

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • Oracle 9i

    Description

      I did not specify a catalog or schema, so I got every table in the db and got the exception below.
      (Once I specified a schema, I did not get this exception)

      I got the following exception for unknown JDBC type. Did a quick search and did not find a reference to it.

      Exception in thread "main" org.apache.ddlutils.model.ModelException: Unknown JDBC type code -102
      at org.apache.ddlutils.model.Column.setTypeCode(Column.java:214)
      at org.apache.ddlutils.platform.JdbcModelReader.readColumn(JdbcModelReader.java:831)
      at org.apache.ddlutils.platform.oracle.Oracle8ModelReader.readColumn(Oracle8ModelReader.java:113)
      at org.apache.ddlutils.platform.JdbcModelReader.readColumns(JdbcModelReader.java:808)
      at org.apache.ddlutils.platform.JdbcModelReader.readTable(JdbcModelReader.java:598)
      at org.apache.ddlutils.platform.oracle.Oracle8ModelReader.readTable(Oracle8ModelReader.java:98)
      at org.apache.ddlutils.platform.JdbcModelReader.readTables(JdbcModelReader.java:548)
      at org.apache.ddlutils.platform.JdbcModelReader.getDatabase(JdbcModelReader.java:504)
      at org.apache.ddlutils.platform.JdbcModelReader.getDatabase(JdbcModelReader.java:464)
      at org.apache.ddlutils.platform.PlatformImplBase.readModelFromDatabase(PlatformImplBase.java:2762)
      at org.apache.ddlutils.platform.PlatformImplBase.readModelFromDatabase(PlatformImplBase.java:2746)
      at ddlreader.Main.readDatabase(Main.java:75)
      at ddlreader.Main.main(Main.java:43)

      Attachments

        1. timestampltzOracle10.patch
          5 kB
          Marcus Osdoba

        Activity

          People

            tomdz Thomas Dudziak
            velodiver Dave Lindsey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: