aspose file tools*
The moose likes Spring and the fly likes Spring requirement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring requirement" Watch "Spring requirement" New topic
Author

Spring requirement

Archana Katakam
Greenhorn

Joined: Aug 21, 2013
Posts: 7

hello guys!

in an spring application , we are using only three classes like bean class,action class and controller(here saving object).
my requirement is i need to get particular value from the form and get that value related record from database.
so for that requirement i nees to use select query with where condition to retrieve records.

here my problem is i am unable to understand that in which class i need to write this hibernate select query logic and perform .
in controller class i am able to save total object but unable do my requirement.
i tried all possibilities please give me clear idea about this........

i am new to spring ,may i am a simple question but it is really very important for me......

please suggest me ad if any sample program satisfies the above requirement pl attach.

regards
Archana
Ashwini Kashyap
Ranch Hand

Joined: Aug 30, 2012
Posts: 90
To get started, I think you should first go through as to what is MVC architecture and then you can proceed further.

To integrate spring with hibernate, you may refer here.

Thanks,
Ashwini Kashyap | www.infocepts.com
Rajitha Gunawardhane
Greenhorn

Joined: Dec 11, 2007
Posts: 28
Also have a look on DAO pattern as well.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring requirement
 
Similar Threads
Query on displaying User records in jsp using Struts
Timestamping in Hibernate
CRUD operaton using Struts2, Springframework and Hibernate.
Getting html form name
Hibernate performance issues using huge databases