ps = con.prepareStatement("insert into SendMealAddress values(null,?,?,?,?)");表有一列是自增长的标识列,比如第一列是,需要使用这样的格式:ps = con.prepareStatement("insert into SendMealAddress(UserId,ConcreteAddress,IsDefaultAddress,Delivery,Payment) values(?,?,?,?,?)");