MyEclipse: Change "users" & "authorities" for S DevAlternatives - Apr 11, 2012 - 09:29 PM Post subject: Change "users" & "authorities" for S
Hello,
Is it possible to change the standar "users" and "authorities" entities that are generated during spring security scaffold, when "database" option is selected?
I tried to look for the .jet files that generates those related objects classes, but I haven't been able to find them. Looks like it is not part of the available templates in customization projects.
Thanks in advance for your comments,
NHDevAlternatives - Apr 11, 2012 - 11:30 PM Post subject:
BTW, the creation of the corresponding tables (USERS, AUTHORITIES, USER_AUTHORITIES) does not occur neither in MyEclipse Derby, or our Oracle 11g DB.
Thanks for the help.cconway - Apr 12, 2012 - 02:24 AM Post subject:
The database scaffolding option is not customizable through templates. Those objects are created as EMF objects and saved to the file system. The only option is to re-work the queries,etc to use other objects after the scaffolding completes.
The creation of the tables should be dependent on the value of the <connectionname>.generateDdl property in the <project>-dao.properties file. If you've scaffolded from the database in the project, the value may be set to false.DevAlternatives - Apr 19, 2012 - 04:52 PM Post subject:
Thanks for your reply!