|
版本: |
BeX5V3.3 |
小版本号: |
|
|
|
数据库: |
MySQL |
服务器操作系统: |
Windows |
应用服务器: |
Tomcat |
客户端操作系统: |
Windows 8 |
浏览器: |
Chrome |
|
|
... 38 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: INSERT INTO basic_totalproject (basic_totalproject.ID, basic_totalproject.CREATEDATE, basic_totalproject.CREATEUSER, basic_totalproject.MODIFYDATE, basic_totalproject.MODIFYUSER, basic_totalproject.PROJECTYEAR, basic_totalproject.THEBUDGET, basic_totalproject.TOTALBUDGET, basic_totalproject.CONSTRUCTIONTYPE, basic_totalproject.IFACROSSYEARS, basic_totalproject.TOTALPROJECTNAME) VALUES ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ), binds: [5B2ADC046A6A429FB3D81FA78DBD6DC2, 1900-08-17 00:00:00.0, null, null, null, 1, 201.0, 2016.0, 0, 5454, null]出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlUpdate(Unknown Source)
... 47 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'ifAcrossYears' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3845)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2113)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2049)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2034)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
... 48 more
insert语句插入时字段和参数对不上类型。
|
|