I try to set the Hibernate property 'hibernate.cglib.use_reflection_optimizer' to false:
but what ever the value of this property, Hibernate still uses cglib:Code:<bean id="HibernateSessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean"> <property name="mappingResources"> <list> <!-- This will include a list of all the mapping files to be used for this configuration. --> &fileList; </list> </property> <property name="hibernateProperties"> <props> .... <prop key="hibernate.dialect">${hibernate.dialect}</prop> <prop key="hibernate.cglib.use_reflection_optimizer">false</prop> </props> </property> <property name="dataSource"> <ref local="DBDataSource"/> </property> </bean>
Does anyone knows how to disable the cglib optimizer?Code:2004-09-28 19:54:59,642 [main] INFO net.sf.hibernate.cfg.Environment - Hibernate 2.1.6 2004-09-28 19:54:59,642 [main] INFO net.sf.hibernate.cfg.Environment - hibernate.properties not found 2004-09-28 19:54:59,642 [main] INFO net.sf.hibernate.cfg.Environment - using CGLIB reflection optimizer


Reply With Quote