Macros

给我一支烟!请所有烦恼都能过往如云烟!

导航

net.sf.hibernate.MappingException: Bad identifier type: net.sf.hibernate.type.ComponentType

at net.sf.hibernate.persister.AbstractEntityPersister.(AbstractEntityPersister.java:669)
at net.sf.hibernate.persister.EntityPersister.(EntityPersister.java:690)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)
at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
at MyTest.main(MyTest.java:61)
Exception in thread "main"

解决办法:升级至hibernate3.0

posted on 2005-11-23 10:44  Macros  阅读(901)  评论(0)    收藏  举报