1. 将hibernate-3.1解压到  E:\hibernate-3.1
2. 设置classpath:
   .;"C:\Program Files\psqlJDBC\postgresql-8.3-603.jdbc4.jar";%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;%CATALINA_HOME%\lib\servlet-api.jar;E:\hibernate-3.1\hibernate3.jar;E:\hibernate-3.1\lib\commons-collections-2.1.1.jar;E:\hibernate-3.1\lib\commons-logging-1.0.4.jar;E:\hibernate-3.1\lib\dom4j-1.6.1.jar;E:\hibernate-3.1\lib\cglib-2.1.3.jar;E:\hibernate-3.1\lib\log4j-1.2.11.jar;E:\hibernate-3.1\lib\ehcache-1.1.jar;E:\hibernate-3.1\lib\asm.jar;E:\hibernate-3.1\lib\asm-attrs.jar;E:\hibernate-3.1\lib\jta.jar;E:\hibernate-3.1\lib\antlr-2.7.6rc1.jar3. 在eclipse3.2/3.4种新建Test.java,不能导入hibernate,应该怎样处理?package jobTime;import org.hibernate.*;    //前面有红X
public class Test {     public static void main(String[] args)
    {
        try
        {
            //通过Configuration获得一个SessionFactory对象
         SessionFactory sf = new Configuration().configure().buildSessionFactory();
            //打开一个Session
            Session session = sf.openSession();
            //开始一个事务
            Transaction tx = session.beginTransaction();
            //创建一个Student对象
            Student stu = new Student();
            //通过Student的setter方法改变它的属性
            //注意student_id不用我们设置
            stu.setStudent_name("zhangsan");
            stu.setStudent_age(18);
            //通过session的save()方法将Student对象保存到数据库中
            session.save(stu);
            //提交事务
            tx.commit();
            //关闭会话
            session.close();
        }
        catch(Exception e)
        {
            e.printStackTrace();
        }
    }    
}