con.prepareStatement("insert into User_Info(col1,col2,col3,col5) values (?,?,?,?)");pstmt.setString(1, UserInfo.getName());
pstmt.setString(2, UserInfo.getUserid());
pstmt.setString(3, UserInfo.getEmail());
pstmt.setString(4,UserInfo.getPassword());                   在建表的时候指定不能为空的字段默认值。