Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2925

Designer doesn't change java class name in the generated POJO module

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      1. Right click on a table in a view model and choose Modeling>Materialize
      2. In the dialog change java class name (screenshot1)
      3. Check generated POJO module (screenshot2)

      Description

      I have a table (for example PersonMatView) and I want to create materialization. I set 'create POJO' and set java class name to Person (screenshot1). After that in the generated JDG module is Person.jar but in the jar, the class has name same like the table (Personmatview.class). (screenshot2). Is it required to have class name same as materialized table?

        Attachments

        1. create-pojo-warning.png
          create-pojo-warning.png
          37 kB
        2. screenshot1.png
          screenshot1.png
          300 kB
        3. screenshot2.png
          screenshot2.png
          117 kB

          Activity

            People

            Assignee:
            blafond Barry LaFond
            Reporter:
            mkralik Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: