Resolved.
added
<property name="sessionFactory" ref="sessionFactory"/>
in each bean of applicationContext.xml
E.g.:
<bean id="e2workManager"
class="com.cypruss.service.impl.GenericManagerImpl">
<constructor-arg>
<bean class="com.cypruss.dao.hibernate.GenericDaoHibernate">
<constructor-arg value="com.cypruss.model.E2work"/>
<property name="sessionFactory" ref="sessionFactory"/>
</bean>
</constructor-arg>
</bean>
--
View this message in context:
http://appfuse.547863.n4.nabble.com/When-Generated-CRUD-operation-for-more-than-one-model-using-appfuse-gen-its-giving-error-while-Listia-tp2223345p2223567.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]