We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/**
这个样子会报错,把"fetchType = FetchType.EAGER"去掉才正常,这是为啥呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/**
*/
@repository
public interface UserDAO extends MyBatisBaseDao<User, Long> {
@select("select * from user")
@results({
@Result(id = true, column = "id", property = "id"),
@Result(column = "username", property = "username"),
@Result(column = "password", property = "password"),
@Result(column = "id", property = "roles", many = @many(
select = "com.example.demo.dao.RoleDAO.listByUserid",fetchType = FetchType.EAGER
))
})
List listUserDto();
}
这个样子会报错,把"fetchType = FetchType.EAGER"去掉才正常,这是为啥呢?
The text was updated successfully, but these errors were encountered: