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

Oracle tablename with a '_' doesn't work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core - Oracle
    • None

    Description

      I tested it on the head.

      I have a excisting database with tablenames like "pln_test" or "pln_helloworld"
      If i try to read this database to a model, the fields are not resolved for tables without a "_" it works

      In the class JdbcModelreader i changed the following
      //columnData = metaData.getColumns(metaData.escapeForSearch(tableName), getDefaultColumnPattern());
      columnData = metaData.getColumns(tableName, getDefaultColumnPattern());

      Because the data is retrieved by the jdbc metadata escaping is not needed

      And now it works.

      Attachments

        Activity

          People

            tomdz Thomas Dudziak
            tompoes Henk Laracker
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: