Following is my part of my applicationContext.xml
I am getting lazyinitialization exceptions for simple finder methods. How can I change following xml to avoid lazy loading exceptions?
I also want to know what are possible prop keys. In my XML I see loadSingle, but I do not know that what means. Where can I find list of possible properties?
<bean id="baseTransactionProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean" abstract="true">
<property name="transactionManager" ref="transactionManager"/>
<property name="transactionAttributes">
<props>
<prop key="*">PROPAGATION_SUPPORTS,readOnly</prop>
<prop key="loadSingle">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
Thanks.