I’m learning Spring and have been going thru the tutorial on Spring MVC scaffolding. I’ve successfully created and ran the tutorial. Now I want to make the following change.
1. Create a new page similar to the edit page, except only a few fields will be open to change.
2. Add to the new page additional entry fields that would go to a new table – CustomerComment. Table has 2 fields: CustomerNumber and CustComment. Basically, a single customer can have many comments.
This is where I’m stuck. Usually, I would create a form and have the results mapped to hashmap and pass that back to jdbc code that would run a stored procedure to handle the database update.
How do I do this with the Hibernate coding setup in the tutorial? Any hints as to where I can look for an example?