Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Add our HBM files to the Sakai global session factory -->
- <bean id="mytool.hbm.HBMMappingList"
- class="org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl">
- <property name="mappingResources">
- <list>
- <value>mytool/hbm/item1.hbm.xml</value>
- </list>
- </property>
- </bean>
- <!-- setup a DAO, accessed via the transaction proxy -->
- <bean id="mytool.dao.impl.ProjectHibernateDaoImpl"
- class="mytool.dao.impl.ProjectHibernateDaoImpl"
- init-method="init">
- <property name="sessionFactory" ref="org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory" />
- </bean>
Add Comment
Please, Sign In to add comment