MyEclipse: Change "users" & "authorities" for S
DevAlternatives - Apr 11, 2012 - 09:29 PM
Post subject: Change "users" & "authorities" for S
Is it possible to change the standar "users" and "authorities" entities that are generated during spring security scaffold, when "database" option is selected?
This video (for MEFS8.6... we're using MEFS10.0):
Mentions that those tables are assumed to be the ones used on scaffold time.
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,
DevAlternatives - Apr 11, 2012 - 11:30 PM
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
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
Thanks for your reply!
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits