This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts + Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts + Hibernate" Watch "Struts + Hibernate" New topic
Author

Struts + Hibernate

Isaias C. Barroso
Ranch Hand

Joined: Jan 22, 2002
Posts: 165
Hi all,
I work in a project that utilize Hibernate without Struts, but i would like to utilize Struts + Hibernate. Knows anybody how to utilize the DataSource of struts-config.xml on Hibernate?
Thanks


Isaias
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

It's not quite that simple. There is a Hibernate Plugin that you must compile and use. Sadly, the documentation for this is horrible, so you will be left with a lot more questions.
Normally, I wouldn't do this, but I believe you would have better luck at the Hibernate Forums than here only because there aren't too many people at the Ranch who have used Hibernate. There are many more JDO fans here.


GenRocket - Experts at Building Test Data
Isaias C. Barroso
Ranch Hand

Joined: Jan 22, 2002
Posts: 165
Thanks,
I will analise the JDO.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts + Hibernate