java.lang.IllegalStateException: Reserved SQL keyword 'Order' is not permitted as simple type name

Spring JIRA | Scott Murphy | 6 years ago
  1. 0

    entity --class order.Order --table orders results in Reserved SQL keyword 'Order' is not permitted as simple type name entity --class user.User --table users results in Reserved SQL keyword 'User' is not permitted as simple type name The preceding errors are incorrect because a table name that is not a reserved SQL keyword is being specified. {code} Reserved SQL keyword 'Order' is not permitted as simple type name java.lang.IllegalStateException: Reserved SQL keyword 'Order' is not permitted as simple type name at org.springframework.roo.model.ReservedWords.verifyReservedSqlKeywordsNotPresent(ReservedWords.java:54) at org.springframework.roo.model.ReservedWords.verifyReservedWordsNotPresent(ReservedWords.java:29) at org.springframework.roo.classpath.operations.ClasspathCommands.newPersistenceClassJpa(ClasspathCommands.java:228) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:161) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:325) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:118) at java.lang.Thread.run(Thread.java:637) {code}

    Spring JIRA | 6 years ago | Scott Murphy
    java.lang.IllegalStateException: Reserved SQL keyword 'Order' is not permitted as simple type name
  2. 0

    entity --class order.Order --table orders results in Reserved SQL keyword 'Order' is not permitted as simple type name entity --class user.User --table users results in Reserved SQL keyword 'User' is not permitted as simple type name The preceding errors are incorrect because a table name that is not a reserved SQL keyword is being specified. {code} Reserved SQL keyword 'Order' is not permitted as simple type name java.lang.IllegalStateException: Reserved SQL keyword 'Order' is not permitted as simple type name at org.springframework.roo.model.ReservedWords.verifyReservedSqlKeywordsNotPresent(ReservedWords.java:54) at org.springframework.roo.model.ReservedWords.verifyReservedWordsNotPresent(ReservedWords.java:29) at org.springframework.roo.classpath.operations.ClasspathCommands.newPersistenceClassJpa(ClasspathCommands.java:228) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:161) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:325) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:118) at java.lang.Thread.run(Thread.java:637) {code}

    Spring JIRA | 6 years ago | Scott Murphy
    java.lang.IllegalStateException: Reserved SQL keyword 'Order' is not permitted as simple type name
  3. 0
    You are trying to retrieve stuff from the redis pool after destroyPool has been called.
    via GitHub by DongAaron
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  6. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Reserved SQL keyword 'Order' is not permitted as simple type name

      at org.springframework.roo.model.ReservedWords.verifyReservedSqlKeywordsNotPresent()
    2. org.springframework.roo
      ClasspathCommands.newPersistenceClassJpa
      1. org.springframework.roo.model.ReservedWords.verifyReservedSqlKeywordsNotPresent(ReservedWords.java:54)
      2. org.springframework.roo.model.ReservedWords.verifyReservedWordsNotPresent(ReservedWords.java:29)
      3. org.springframework.roo.classpath.operations.ClasspathCommands.newPersistenceClassJpa(ClasspathCommands.java:228)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.springframework.roo
      JLineShell.run
      1. org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
      2. org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49)
      3. org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177)
      4. org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140)
      5. org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      6. org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:161)
      7. org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:325)
      8. org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:118)
      8 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:637)
      1 frame