Monday, November 24, 2008

Retreiving Stored Objects Using Hibernate

This one is relatively simple. 
  1. Use org.springframework.orm.hibernate3.support.HibernateDaoSupport to manage data (add or retrieve)
  2. Refer to the official hibernate documentation to see how you can use Criteria to narrow your result set by clicking here
  3. use getSession() from HibernateDaoSupport to get the hibernate session and fire away using what you learned in step 2

No comments: