Hi,
thank you for your hint.
but it does not work for me, this is my configuration:
Code:
<bean id="myHibernateInterceptor" class="org.springframework.orm.hibernate3.HibernateInterceptor">
<property name="sessionFactory"><ref bean="sessionFactory"/></property>
<property name="entityInterceptorBeanName"><value>sessionInterceptor</value></property>
</bean>
<!-- Hibernate SessionFactory -->
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<!-- property name="jtaTransactionManager"><ref bean="transactionManager"/></property-->
<property name="dataSource"><ref local="dataSource"/></property>
<property name="mappingResources">
<list>
<value>de.mk.user.hbm.xml</value>
<value>de.mk.srb.model.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">${hibernate.dialect}</prop>
<prop key="hibernate.show_sql">true</prop>
</props>
</property>
</bean>
<bean name="sessionInterceptor" class="org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor">
<property name="sessionFactory"><ref bean="sessionFactory"/></property>
</bean>
has anyone any idee what I have maked wrong?
thanks.
ys Gideon