SessionFactory in Hibernate

Posted by komal on Stack Overflow See other posts from Stack Overflow or by komal
Published on 2010-03-26T09:28:47Z Indexed on 2010/03/26 9:33 UTC
Read the original article Hit count: 476

Hi,

I am using hibernate-2.1 and "net.sf.hibernate.SessionFactory" class in my spring project.

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.

But I found SessionFactory class in the package "org.springframework.orm.toplink".

Is both the class one in hibernate-2.1 "net.sf.hibernate.SessionFactory" and another in "org.springframework.orm.toplink.SessionFactory" are same?

Can I replace first with second one?

Thanks, Komal

© Stack Overflow or respective owner

Related posts about spring

Related posts about hibernate