A simple Spring Application with CRUD operation for Learning
- Create a simple Database with the name
TestDB
. - Create a table in mysql as below:
Create Table NameList (ID int auto_increment not null, Name varchar(50) not null, SurName varchar(50), Primary Key (ID));
Application is meant just for learning purpose.
We can do basic CRUD operation as listed below:
- Create -> To as new Name and Surname
- Read -> To read all the NameList, get Name and Surname for a particular name, get Name for given ID
- Update -> To update the name and/or surname for the given ID.
- Delete -> delete the Name entry from the list.