Make row mappers to be a spring bean [DATAJDBC-430] #651
Comments
Jens Schauder commented We should introduce new annotation attributes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sergey80 opened DATAJDBC-430 and commented
Say, I want to do this:
now
is null.
and I use it like this:
and seems I can not inject anything in PartnerFieldRowMapper since it is not a spring bean. (?)
--
I understand that in this case I would rather do join the table and fetch what I want fro rs as is. But if speaking of flexibility. Theoretically this mapper could call some other services to do the job. Especially it is true for older data models when combination of Repositories and mappers could hide the underlying complexity and still be able to build desirable aggregate root
Referenced from: pull request #249
The text was updated successfully, but these errors were encountered: