Guest User

Untitled

a guest
Feb 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. <!-- Add our HBM files to the Sakai global session factory -->
  2. <bean id="mytool.hbm.HBMMappingList"
  3. class="org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl">
  4. <property name="mappingResources">
  5. <list>
  6. <value>mytool/hbm/item1.hbm.xml</value>
  7. </list>
  8. </property>
  9. </bean>
  10. <!-- setup a DAO, accessed via the transaction proxy -->
  11. <bean id="mytool.dao.impl.ProjectHibernateDaoImpl"
  12. class="mytool.dao.impl.ProjectHibernateDaoImpl"
  13. init-method="init">
  14. <property name="sessionFactory" ref="org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory" />
  15. </bean>
Add Comment
Please, Sign In to add comment