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

Staging table in the JDG source model has wrong property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 10.0.2
    • 10.0.2
    • None
    • Hide
      1. Clear materialization in the project which is in the attachment
      2. Right click to view model in the BooksMatView and choose Modeling>materialization
      3. Change class name to Book
      4. Check property in the staging table in the JDG source model
      Show
      Clear materialization in the project which is in the attachment Right click to view model in the BooksMatView and choose Modeling>materialization Change class name to Book Check property in the staging table in the JDG source model

      Primary table property is set wrongly when JDG class name have another name as view model.

      I have a project with JDG materialization. When I was setting materialization for view table (viewBooks) I set class name for POJO to 'Book' (from viewBooks). However, generated staging table in the JDG source model have infinispan:Primary Table properties set to BookJDGSource.viewBooks but correctly is BookJDGSource.Book. I think that designer set this property according to name of view model which will be materialized (viewBooks) but it should according to materialized table (Book) in the JDG source model

      Actual property:

      viewBooksJDGSource.viewBooks
      

      Correctly property:

      viewBooksJDGSource.Book
      

              mkralik@redhat.com Matej Kralik
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: