Hibernate in Sakai
- 3 ways of using Hibernate in Sakai (powerpoint)
- Create a SessionFactory using settings inside your tool
- Note: Only use this for accessing external databases (out of scope for these docs)
- Create a session factory from the global Sakai sessionFactoryBase
- We will use this method for the workshop and the Task List Tool Exercise
- Add our HBMs to the global Sakai sessionFactory
- This method is demonstrated in this version of the tasklist tool: tasklist-complex