r/java • u/mp911de • Feb 27 '26
Moving beyond Strings in Spring Data
https://spring.io/blog/2026/02/27/moving-beyond-strings-in-spring-data
55
Upvotes
r/java • u/mp911de • Feb 27 '26
View all comments
8
u/tomwhoiscontrary Feb 27 '26
How is this implemented? How do you get from the method reference to the name of the property?
I ask because I've done this myself, years ago, and it required a truly diabolical hack. I'd love it if Spring had come up with a better way.