读书人

org.hibernate.MappingException: Rep

发布时间: 2013-08-04 18:26:16 作者: rapoo

org.hibernate.MappingException: Repeated column in mapping for entity

描述:

?

Error creating bean with name 'sessionFactory' defined in class path resource [conf/app-resource.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: eBay.pojo.Notice column: notice (should be mapped with insert="false" update="false")

?

?

org.hibernate.MappingException: Repeated column in mapping for entity: eBay.pojo.Notice column: notice (should be mapped with insert="false" update="false")

?

?

?

原因:bibernate中的文件配置错误

?

?

如何解决:看清是哪个配置文件的问题 ? 对照数据库表来警醒相应的修改

读书人网 >编程

热点推荐