I tried:
moduleApplicationContext.xml:
....
<bean parent="serviceContext" lazy-init="true">
<property name="moduleService">
<list>
<value>org.openmrs.module.radiologymodule.Main</value>
<bean
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager">
<ref bean="transactionManager"
/>
</property>
<property name="target">
<bean
class="org.openmrs.module.radiologymodule.impl.MainImpl">
<property name="sdao">
<bean
class="org.openmrs.module.radiologymodule.db.hibernate.StudyDAOImpl">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
</bean>
</property>
<property name="vdao">
<bean
class="org.openmrs.module.radiologymodule.db.hibernate.VisitDAOImpl">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
</bean>
</property>
</bean>
</property>
<property name="preInterceptors">
<list>
<ref
bean="authorizationInterceptor" />
</list>
</property>
<property
name="transactionAttributeSource">
<bean
class="org.springframework.transaction.annotation.AnnotationTransactionAttributeSource"
/>
</property>
</bean>
</list>
</property>
</bean>
...I mean with lazy-init="true", but did not work. -- View this message in context: http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Mapping-file-problem-tp6801906p6808863.html Sent from the Developers mailing list archive at Nabble.com. _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

