I am working on a project based on spring & hibernate frameworks. I have a form where the data is fetched using hibernate framework & validated using the spring validator interface. I have written the whole hibernate code inside the validator class file. Now, i want to know that is it good to write the hibernate code in the validator file or should i write it in the controller.
Ujjwal B Soni <baroda, gujarat, india> <+918866008962>
"Helping hands are better than praying lips......"