Quote:
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSes sionFactoryBean">
<property name="dataSource">
<ref local="managedDataSource"/>
</property>
<property name="mappingResources">
<list>
<value>com/fortunalobal/hibernate/model/User.hbm.xml</value>
<value>com/fortunalobal/hibernate/model/PhoneNumber.hbm.xml</value>
</list>
</property>
<!-- Set the type of database; changing this one property will port
this to Oracle, MS SQL, hsqldb etc. -->
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">${hibernate.dialect}</prop>
<prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
<!--
<prop key="hibernate.hbm2dll.auto">${hibernate.hbm2dll.a uto}</prop>
-->
<!-- Disable the second-level cache -->
<prop key="hibernate.cache.provider_class">org.hibernate .cache.NoCacheProvider</prop>
</props>
</property>
</bean>
Please help me on this.