title: SessionFactory in Hibernate
body: <p>I am using hibernate-2.1 and "net.sf.hibernate.SessionFactory" class in my spring project.</p>
  
  <p>Now I am switched to Spring 2.5.6.A, where they are using hibernate3 and I am not able to find out the "net.sf.hibernate" package in that.</p>
  
  <p>But I found SessionFactory class in the package "org.springframework.orm.toplink".</p>
  
  <p>Is both the class one in hibernate-2.1 "net.sf.hibernate.SessionFactory" and another in "org.springframework.orm.toplink.SessionFactory" are same?</p>
  
  <p>Can I replace first with second one?</p>
  
  <p>Thanks,
  Komal</p>