I've been reading thru the hibernate config code (and google) to see if I could configure Hibernate at a lower level with Spring. I'd like to be able to configure a cache provider in spring (jndi reference to jbosscache) and pass that cache provider to hibernate rather than a string property that contains the name of a class that requires a no-arg constructor.
I did think of creating a class that would implement the interface and delegate the calls to a class loaded from spring, but it means referencing my beanfactory from another location.
Has anyone else tried this? Does anyone else see the benefit?


Reply With Quote
