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

Create POJO failed when having attributes including "

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 10.0.2
    • Dialogs
    • None
    • Hide
      • Create a model which has a attribute with spaces or single quotes in their. I.e. "Int'l Calls"
      • Modeling -> Create POJO (incl. generate JDG Module)
        only directory and POJO java file is generated.
        In log of JBDS
        ***********************************
        java.lang.Exception: ';' expected
        ***********************************
      Show
      Create a model which has a attribute with spaces or single quotes in their. I.e. "Int'l Calls" Modeling -> Create POJO (incl. generate JDG Module) only directory and POJO java file is generated. In log of JBDS *********************************** java.lang.Exception: ';' expected ***********************************

    Description

      For a demo I was checking out using JDG as data source for JDV. See also https://developers.redhat.com/blog/2017/02/20/unlock-your-red-hat-jboss-data-grid-data-with-red-hat-jboss-data-virtualization/

      In my demo I have attributes which includes spaces and ' in their names.

      POJO is not compiled and no JDG Module ZIP is created due to the previous point. If we are using illegal naming convention in the model would expect an error when trying to generate the JDG module.

      Attachments

        Activity

          People

            blafond Barry LaFond
            cvanball_jira Cojan van Ballegooijen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: