Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 列名 'passwords' 无效。
---Theerroroccurredincom/ssidemo/model/User.xml.---Theerroroccurredwhileapplyingapara...
--- The error occurred in com/ssidemo/model/User.xml.
--- The error occurred while applying a parameter map.
--- Check the checkUser-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 列名 'passwords' 无效。
控制台显示的内容。。sql 放到数据库里没有问题,可以查出来...
2012-10-30 10:32:49,803 DEBUG [java.sql.PreparedStatement] - {pstm-100001} Executing Statement:
SELECT id, name, pass FROM users WHERE name = ? and pass = ?
2012-10-30 10:32:49,804 DEBUG [java.sql.PreparedStatement]
- {pstm-100001} Parameters: [sa, 123]
2012-10-30 10:32:49,804 DEBUG [java.sql.PreparedStatement]
- {pstm-100001} Types: [java.lang.String, java.lang.String] 展开
--- The error occurred while applying a parameter map.
--- Check the checkUser-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 列名 'passwords' 无效。
控制台显示的内容。。sql 放到数据库里没有问题,可以查出来...
2012-10-30 10:32:49,803 DEBUG [java.sql.PreparedStatement] - {pstm-100001} Executing Statement:
SELECT id, name, pass FROM users WHERE name = ? and pass = ?
2012-10-30 10:32:49,804 DEBUG [java.sql.PreparedStatement]
- {pstm-100001} Parameters: [sa, 123]
2012-10-30 10:32:49,804 DEBUG [java.sql.PreparedStatement]
- {pstm-100001} Types: [java.lang.String, java.lang.String] 展开
若以下回答无法解决问题,邀请你更新回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询