3 ms·
Thanks for the corrections, suggestions, and comments everyone! @twic Thanks for the correction. Didn't know this wasn't a Hibernate but instead a Spring Data
by tdons 6y ago
Thanks for the corrections, suggestions, and comments everyone!
@twic Thanks for the correction. Didn't know this wasn't a Hibernate but instead a Spring Data feature :-)
@watt You're right, I could've added an offset/limit. Wasn't the main point though (readability was).
@vitro Depends on the approach, but it won't be done /for you/, the mapping is a manual step (grab field X, etc.).
@piokoch, nice suggestion. Of course in the real world we work in teams and some people will prefer this ;-)