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