Hi,
How can I access LocalSessionFactoryBean from which was sessionFactory created?
I need to get configuration LocalSessionFactoryBean.getConfiguration() of hibernate but this always return SessionFactory.
Code:<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <property name="mappingResources"> <list> <value>xxx/yyy/zzz/Login2IdDTO.hbm.xml</value> </list> </property> <property name="hibernateProperties" ref="hibernateProperties" /> </bean>
so is there any way?
thnx


Reply With Quote
