#How are spring repository implemented ?
9 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @narrow pagoda! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Thanks, but it still don't understand how you can call repository.findByLastname("Matthews"); yet never providing an implementation. Interfaces can't be instantiated...
Spring Data takes care of it for u at runtime
u can look deeper into it here i think: https://medium.com/@spac.valentin/java-dynamic-proxy-mechanism-and-how-spring-is-using-it-93756fc707d5
not 100% sure if thats what u mean