Skip to content
New issue

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

Where is the implementation of findOneWithRolesByUsername function? #4

Open
andy24 opened this issue Jul 31, 2017 · 2 comments
Open

Comments

@andy24
Copy link

andy24 commented Jul 31, 2017

請問一下,我看SysUserRepository需要implement findOneWithRolesByUsername function,但我找不到實作的程式,可以請教你一下,在哪呢?

@hahaho
Copy link

hahaho commented Aug 1, 2017

@andy24 这就是spring data的用法啊,只要写接口spring 根据接口的名字帮你实现的。。。。

@andy24
Copy link
Author

andy24 commented Aug 2, 2017

根據spring data的說法,並沒有findOneWith的用法,請問這哪裡有寫呢?

https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants