-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate, dbcp, & struts, Oh My
PostPosted: Wed Aug 10, 2005 1:23 am 
Newbie

Joined: Fri Aug 05, 2005 12:03 pm
Posts: 5
Hi,

I've integrated hibernate and struts via:
http://www.javaworld.com/javaworld/jw-0 ... rnate.html
fixing the mistakes in the package found in:
<mapping
resource="/com/strutscookbook/hibernate/beans/Element.hbm.xml"/>
Should have been strutsrecipes, not cookbook.
and taking the error log out of the finally clause..
works fine.

I've downloaded the class to get hibernate to work with jakarta commons dbcp from:
http://wiki.apache.org/jakarta-commons/DBCP/Hibernate
It fails with struts 3 as the last method is not implemented.
public boolean supportsAggressiveRelease()

Does anyone know if this should be true or false for dbcp?


I think this is technically created 2 complete sets of pools isn't it?
Has anyone combined these so that struts and hibernate could use the same configuration and same pool? I think that would be the ideal setup...

Thanks

John


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.