Hi all, I am novice to Hibernate. I am tring to configure eclipse for hibernate but I am not able to execute import net.sf.hibernate.cfg.* as the eclips is not able to find the specified path. It works fine till import net.sf.hibernate.*;
But when I try to rt the statement import net.sf.hibernate.cfg.* its not able to get the requirs path. Can anyone tell me which is that jar file which I need to put in the classpath so that the statement import net.sf.hibernate.cfg.* will gets executed properly. thanks in advance
That package is in hibernate.jar. Be careful you are using the correct version of Hibernate; that particular package structure is from Hibernate 2, so you'll need to make sure you are using that version.
thanks a lot for a quick reaply Paul ... Paul ..I am using version 3. So which jar file I need to keep in the class path . and where can I find that jar file . Please let me know the same. I already kept my hibernate3.jar file in the classpath