B表 B_id
C表 C_id,A_id,B_id
select a.*1,a.*2,a.*3,b.*1,b.*2,b.*3
form C as c
left join A as a on (c.A_id = a.A_id)
left join B as b on (c.B_id = b.B_id)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.xindeco.myregister.pojo.MyRegisterInfo column: password (should be mapped with insert="false" update="false")
百分百配置文件 属性 错误
xml文件如下:
<property name="password"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="password"
length = "32"
/>
<property name="repassword"
type="java.lang.String"
update="false"
insert="false"
access="property"
column="password"
length = "32"
/>
解决的方法:
将repassword的insert和update设为false。
严重: Exception starting filter struts2
Unable to load configuration. - [unknown location]
Caused by: Unable to load configuration. - [unknown location]
Caused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]
解决的办法是:
jar包冲突
xerce.jar和xml-apis.jar这两个jar包冲突
删除xerce.jar