柗先生
2015-12-02 20:05
Exception in thread "main" java.sql.SQLException: Column count doesn't match value count at row 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:882)
at com.imooc.dao.GoddessDao.addGoddess(GoddessDao.java:38)
at com.imooc.action.GoddessAction.main(GoddessAction.java:24)
代码?
怎么解决的,我也报这错
谢谢,已解决
JDBC之 “ 对岸的女孩看过来”
99327 学习 · 856 问题
相似问题