Results 1 to 3 of 3

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

  1. #1
    Join Date
    Nov 2007
    Posts
    177

    Default 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. #2
    Join Date
    Dec 2005
    Posts
    930

    Default

    the dod command also allows the --permitReservedWords option to overcome your issue.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Nov 2007
    Posts
    177

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •