Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

When I gave the roo command

entity --class  ~.domain.User

in the roo shell, I got

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

What I want to know is that, is there a way to gave alias name to the entity ? Because I do have a couple of entities which name are not permitted as above. Or is there a way to overcome this kind of problem ?

Any help will be greatly appreciated. Thank you very much.

like image 982
zawhtut Avatar asked Nov 30 '10 09:11

zawhtut


1 Answers

You could try to add the --permitReservedWords option to the entity command.

https://jira.springsource.org/browse/ROO-1502

like image 77
stacker Avatar answered Oct 12 '22 22:10

stacker