Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
2012-03-27 16:01
459 查看
不同的属性映射为相同的字段,重复映射同一个字段,就会出现这个错误;
pring启动失败 org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefFactory.xml], factory key [default]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default' defined in URL [file:/D:/MyEclipse6.5/workSpace/xj_qc_system/webapp/WEB-INF/classes/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.hollycrm.qcweb.record.po.TblAgentStudyScore column: PARAM1 (should be mapped with insert="false" update="false") org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default' defined in URL [file:/D:/MyEclipse6.5/workSpace/xj_qc_system/webapp/WEB-INF/classes/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.hollycrm.qcweb.record.po.TblAgentStudyScore column: PARAM1 (should be mapped with insert="false" update="false") org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.hollycrm.qcweb.record.po.TblAgentStudyScore column: PARAM1 (should be mapped with insert="false" update="false") org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.hollycrm.qcweb.record.po.TblAgentStudyScore column: PARAM1 (should be mapped with insert="false" update="false") org.hibernate.MappingException: Repeated column in mapping for entity: com.hollycrm.qcweb.record.po.TblAgentStudyScore column: PARAM1 (should be mapped with insert="false" update="false")
相关文章推荐
- Repeated column in mapping for entity:should be mapped with insert="false" update="false"
- Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
- Repeated column in mapping for entity: .... should be mapped with insert="false" update="false"
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- Repeated column in mapping for entity:should be mapped with insert="false" update="false"
- Repeated column in mapping for entity:(should be mapped with insert="false" update="false")
- 玩转JPA(一)---异常:Repeated column in mapping for entity/should be mapped with insert="false" update="fal
- Repeated column in mapping for entity: XXpojo column: xx (should be mapped with insert="false" upda
- hibernate column should be mapped with insert="false" update="false" 错误原因
- column: xxxxxx_ID (should be mapped with insert="false" update="false")
- should be mapped with insert="false" update="false"的解决方法 和对象产生默认值的解决方法
- should be mapped with insert="false" update="false
- should be mapped with insert="false" update="false"
- hibernate配置文件中重复定义导致的错误:should be mapped with insert="false" update="false"
- JPA-hibernate注解之 should be mapped with insert="false" update="false"
- should be mapped with insert="false" update="false"
- Hibernate中should be mapped with insert="false" update="false"错误
- Hibernate_should be mapped with insert="false" update="false"的解决方法
- should be mapped with insert="false" update="false"