betterjava opened a new issue #165: UserRepositoryImpl.getUsers() set wrong column for User Entity URL: https://github.com/apache/incubator-shardingsphere-example/issues/165 UserRepositoryImpl.getUsers() like below in example code: > User user = new User(); user.setUserId(resultSet.getInt(1)); user.setUserName(resultSet.getString(2)); user.setPwd(resultSet.getString(3)); result.add(user); but the User Entity liken below: > private int userId; private String userName; private String userNamePlain; private String pwd; private String assistedQueryPwd; So they can not match,we should change UserRepositoryImpl.getUsers() like this: > User user = new User(); user.setUserId(resultSet.getInt("user_id")); user.setUserName(resultSet.getString("user_name")); user.setPwd(resultSet.getString("pwd")); result.add(user);
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
