Results 1 to 2 of 2
Thread: Struts with hibernate
- 04-02-2009, 06:03 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 2
- Rep Power
- 0
- 06-01-2009, 01:01 AM #2
Senior Member
- Join Date
- Mar 2009
- Location
- USA
- Posts
- 127
- Rep Power
- 0
steps to integrate struts and hibernate:
- make a table in database first.
- make hibernate configuration file + all necessary file including the pojo class and mapping file(IDE generates it)
(u need configuration file, mapping file, pojo class, helper class, reveng file)
- once everything is generated, go to action class in struts
- use session factory object in action class
- make an object of pojo class in action class
and perform ur database operations
Similar Threads
-
decorator.jsp problem building Struts Menu in JSP when Struts action is used
By dkirvan in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 04-29-2010, 05:33 AM -
Hibernate Use
By sireesha in forum JDBCReplies: 2Last Post: 05-21-2008, 03:05 AM -
Database connectivity in Jave struts with Hibernate
By sanjay_sharma77 in forum Advanced JavaReplies: 1Last Post: 02-02-2008, 08:41 PM -
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1
By Heather in forum JDBCReplies: 2Last Post: 06-30-2007, 03:01 PM -
Hibernate
By Shuru in forum JDBCReplies: 2Last Post: 05-09-2007, 05:39 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks