Announcement Announcement Module
Collapse
No announcement yet.
Issue with SQL reserved keyword when trying to generate Spring Roo Data On Demand Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with SQL reserved keyword when trying to generate Spring Roo Data On Demand

    Hello,

    I am trying to generate a Data On Demand class for one of my entities whose class name is Member. However it seems that Member is a reserved SQL keyword.

    So when I run the following command in the Roo shell:

    Code:
    dod --entity ~.domain.Member
    Roo complains that Member is a reserved keyword with the following message:
    Code:
    Reserved SQL keyword 'Member' is not permitted as simple type name
    Does Roo allow for a way to escape the name of my entity? If so how?

    If no, how can I circumvent this issue?

    Regards,

    Julien.

  • #2
    the dod command also allows the --permitReservedWords option to overcome your issue.

    Comment


    • #3
      Thank you very much for you reply Alan.
      I'll try that when I get home.
      Julien.

      Comment

      Working...
      X