- This topic has 3 replies, 4 voices, and was last updated 10 years, 8 months ago by support-pradeep.
-
AuthorPosts
-
amizanjMemberHi,
I tried Spring Security Scaffolding as shown in the video below. But one issue I am having is that the USERS and AUTHORITIES tables were not created. When I log into the Derby
Database I am not seeing these tables. Everything else seems to be there including the Spring Security file and the JPA entities in the domain folder.The only difference between my application and what he shows in the tutorial is mine is based on a School Student Database instead of Classic Cars.
Any help would be appreciated.
Thanks.
support-swapnaModeratoramizanj,
You have to create the tables USERS and USERS_AUTHORITIES manually. The wizard will only create the JPA entities and DAO’s from the already existing tables.
For a newer and latest tutorial on Spring Security Scaffolding, please refer the tutorial at menu Help > Help Contents > MyEclipse for Spring 10.0 Guide > Spring Security Scaffolding Tutorial.
Let us know how if you see any issues.
Gary HollandMemberI am using MyEclipse For Spring 2014, I used to be subscribed to MyEclipse Bling until my subscription ran out and purchased Spring version. I distinctly remember the Bling version actually created the tables. The Spring version 2014 does not.
The Video also shows the tables being created.
According to the text in the help document you all mention below it is supposed to create the db tables here is an excerpt from that document:
Note: The DB tables are automatically created for you, but you need to populate them with data.
So what gives with the MyEclipse Spring 2014 version?
support-pradeepMemberdrgaryholland,
We could see the tables created at our end on MyEclipse for spring 2014.
You need to reconnect and refresh the database connection(if it is already opened) inorder to view tables that are created. Open MyEclipse database explorer perspective, expand MyEclipse Derby connection, right click on Connected to MyEclipse Derby and select Reconnect and refresh.
For your visual reference, here is the screenshot of the tables that are created
If you don’t find tables even after reconnecting and refreshing the database connection, can you please answer some more queries to help us investigate further :
1) Can you please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?
2) If there are any errors of interest logged in the .log file located at <workspace dir>/.metadata/.log file, please attach the.log file to help us investigate further.Let us know how it works for you.
-
AuthorPosts