I typically got bean definitions of my domain objects in my application contexts. Hence I use Hibernate3 in a Tiger environment I utilized a BeanPostProcessor for the registration of Entity annotated beans (= my persistent domain objects) at the AnnotationConfiguration singleton.
Being forced to subclass the LocalSessionFactoryBean (which is sadly unable to BeanPostProcess the domain objects by itself due to the BeanFactory != BeanPostProcessor restriction) to use my AnnotationConfiguration I was wondering: why exactly is there no setter for a Hibernate Configuration object in the LocalSessionFactoryBean?


Reply With Quote
, but I assume since the Configuration is created based on the various properties of the Bean and the sessionFactory