Roushan Singh
Roushan Singh

Reputation: 1

Basic CRUD application using spring and Hibernate

I have to develop a base implementation using spring MVC and hibernate that will show "search", "edit", "Add" "OK" and "Cancel" button in every pages, and each page will represent a table or more than one table (if parent-child relation is there). In case of search - it will display all record one-by-one with pagination based on filled ciriteria. (here all field will disable). In case of user clicks on edit - some editable field will enable and after pressing OK button it should update that record, otherwise in case of CANCEL button pressed it will again should be in search result. ADD will used to add new record with help of OK and Cancel button.

For this i want to use MultiActionController of Spring but how to use OK and Cancel button functionality, i don't have clue. Please help me.

Also i delevelop one DAO implementation class that will handle all table request for find, update, save using HibernateTemplete.

Upvotes: 0

Views: 1582

Answers (2)

Muhammad Sadiq
Muhammad Sadiq

Reputation: 434

I have seen such Example for CRUD operations in Spring MVC. but there is a single table usage in it. It was really helpful to me, easy to understand. Here is a link http://sindhitutorials.com/blog/spring-mvc-hibernate-eclipse-maven/

Upvotes: 1

Nilesh
Nilesh

Reputation: 4177

Check out AppFuse to get your edit stuff done quickly. This would help you get up and running quickly with Spring and Hibernate.

Upvotes: 0

Related Questions