Hi, everyone. Komapper v1.11.0 has been released! ...
# komapper
t
Hi, everyone. Komapper v1.11.0 has been released! This version supports DELETE...RETURNING. Try it out! https://github.com/komapper/komapper/releases/tag/v1.11.0
👍🏼 1
đź‘Ť 4
d
I'm not sure I understand what self-mapping changed here... we could always declare the entity annotations directly on the data class in the business logic...?
t
Nothing has changed in the specification of self-mapping itself. It has no effect on existing code. Komapper’s Gradle plugin has only been able to generate code for separation mapping, but the new version can generate code for self-mapping.
d
I don't understand what you mean by "generating code", the Meta classes were always generated...?
t
Komapper’s Gradle plugin is a tool that generates entity class source code from Database metadata. It is different from KSP, which generates metaclass source code from entity classes. Please see also https://www.komapper.org/docs/reference/gradle-plugin/
d
Oooh, that's nice! There's no link to that page from the left side bar, so I never really knew about it!