Struts Problem Report
Struts has detected an unhandled exception:
Messages: 1.Incorrect string value: '\xC2\xA0\xC2\xA0' for column 'source' at row 1
2.Hibernate operation: could not insert: [com.zsyz.bean.news]; uncategorized SQLException for SQL [insert into wangtao.news (ProvinceID, TradeID, UserID, CityID, NewTypeID, CountyID, NewTitle, NewContent, ProjecTareas, ProjectMoney, NewTime, StartTime, endTime, source, Editor) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [HY000]; error code [1366]; Incorrect string value: '\xC2\xA0\xC2\xA0' for column 'source' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\xC2\xA0\xC2\xA0' for column 'source' at row 1
File: com/mysql/jdbc/SQLError.java
Line number: 1,073
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.zsyz.bean.news]; uncategorized SQLException for SQL [insert into wangtao.news (ProvinceID, TradeID, UserID, CityID, NewTypeID, CountyID, NewTitle, NewContent, ProjecTareas, ProjectMoney, NewTime, StartTime, endTime, source, Editor) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [HY000]; error code [1366]; Incorrect string value: '\xC2\xA0\xC2\xA0' for column 'source' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\xC2\xA0\xC2\xA0' for column 'source' at row 1
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:124)
org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)
org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:690)
com.zsyz.dao.impl.newsDaoimpl.save(newsDaoimpl.java:111)
com.zsyz.service.impl.newsServiceimpl.saveNews(newsServiceimpl.java:198)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
$Proxy13.saveNews(Unknown Source)
com.zsyz.action.newsAction.addNews(newsAction.java:164)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)