log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for: jave.lang.String, at table: Login, for columns: [org.hibernate.mapping.Column(password)]
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.pb.hibernate.util.HibernateUtil.
at com.pb.hubernate.dao.LoginDao.save(LoginDao.java:20)
at com.pb.hibernate.test.Test.main(Test.java:14)
Caused by: org.hibernate.MappingException: Could not determine type for: jave.lang.String, at table:
at org.hibernate.mapping.RootClass.validate(RootClass.java:215)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1149)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1334)
at com.pb.hibernate.util.HibernateUtil.
... 2 more
这是控制台里的显示~~~~