Move Im from hibernate 3 app to hibernate 4 app.
Currently trying to figure out how to get the configuration object from hibernate4 LocalSessionFactoryBean found in org.springframework.orm.hibernate4.LocalSessionFactoryBean.
In the class org.springframework.orm.hibernate3.LocalSessionFactoryBean class, there is a getter method for the Configuration class.
In hibernate4, they use LocalSessionFactoryBuilder (which extends the configuration object) as a serviceregistry provision. In version 3 you can get this configuration object, in version 4 it is forbidden, why? and how can i still get this object?
Greetz
Niels
source share