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

Create POJO failed when having attributes including "

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.2
    • Fix Version/s: None
    • Component/s: Dialogs
    • Labels:
      None
    • Environment:

      MacOS
      JBoss Developer Studio 10.3.0 with JBoss Developer Studio Integration Pack 10.0.2

    • Steps to Reproduce:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                blafond Barry LaFond
                Reporter:
                cvanball Cojan van Ballegooijen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: