MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
DevAlternatives
Post subject: Change "users" & "authorities" for S  PostPosted: Apr 11, 2012 - 09:29 PM
Registered Member
Registered Member


Joined: Mar 08, 2012
Posts: 33

Hello,

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):
http://www.myeclipseide.com/me4s/features/spring-security-scaffolding.php
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,

NH
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
DevAlternatives
Post subject:   PostPosted: Apr 11, 2012 - 11:30 PM
Registered Member
Registered Member


Joined: Mar 08, 2012
Posts: 33

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Apr 12, 2012 - 02:24 AM



Joined: Apr 04, 2011
Posts: 196

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.

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
DevAlternatives
Post subject:   PostPosted: Apr 19, 2012 - 04:52 PM
Registered Member
Registered Member


Joined: Mar 08, 2012
Posts: 33

Thanks for your reply!
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits