原因:Village实现的比较奇怪,就是插入更新删除记录时,若影响行数大于1时会生成一个异常,下面的代码片段位于Record类中:
private int saveWithDelete (Connection connection)
throws DataSetException, SQLException
{
PreparedStatement stmt = null;
try
{
stmt = connection.prepareStatement (getSaveString());
int ps = 1;
for (int i = 1; i <= dataset().keydef().size(); i )
{
Value val = getValue (dataset().keydef().getAttrib(i));
val.setPreparedStatementValue (stmt, ps );
}
int ret = stmt.executeUpdate();
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




