user.setLoginName("user");
user.setPassword("loxia");
user.setUserName("Loxia User");
userDao.save(user);
System.out.println("==============================4");
List<InnerUser> users = userDao.findUsers(new Sort[]{new Sort("u.userName")});
u = userDao.findUserByLoginName("user");
Pagination<InnerUser> p = userDao.findByLoginNameP(0, 20, "user");
System.out.println(p.getCount());
System.out.println(users.size());
System.out.println(u.getUserName());
List<InnerUser> anoUsers = userDao.findUserByName(0, 20, "U", new Sort[]{new Sort("u.userName")});
System.out.println(anoUsers.size());
System.out.println(userDao.findByLoginName(0, 20, null).size());
System.out.println(userDao.findByLoginName(0, 20, "a").size());
userDao.findByLoginNameSql(0, 20, "u", null, null);
userDao.findByLoginNameSql(0, 20, "u", null, "w");