Hi,
I’m not sure if this is related to the previous post, but it seems a reasonable place to start. If I try to set properties for my hibernate session in the applicationContext.xml, it does not get read. ie:
<props>
<prop key="hibernate.dialect">
org.hibernate.dialect.PostgreSQLDialect
</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.max_fetch_depth">3</prop>
<prop key="hibernate.cglib.use_reflection_optimizer">false</prop>
</props>
The one of interest is the cglib.use_reflextion_optimizer. This property is ignored (and so is the show_sql statement). If I have a hibernate.properties file in my classpath with this, I can set things so I can debug, etc. If I remove the hibernate properties, it complains about it, but the wierd thing is that it can still connect to the database (which makes me think it is reading at least part of this stuff from the applicationContext). The REALLY wierd thing is that the max_fetch_depth IS read properly.
Kinda bizzare. For now, I can get stuff done by having a hibernate.properties file with the tweeks in it, but I’m a bit curious about this.
TIA!
randy