facebook

Change "users" & "authorities" for S

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #325158 Reply

    DevAlternatives
    Participant

    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

    #325161 Reply

    DevAlternatives
    Participant

    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.

    #325167 Reply

    cconway
    Member

    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.

    #325407 Reply

    DevAlternatives
    Participant

    Thanks for your reply!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Change "users" & "authorities" for S

You must be logged in to post in the forum log in