DEV Community

loading...

Discussion on: Mapping JPA entities with Kotlin

Collapse
00babe9 profile image
00babe9

Hi, Livio! Great post. I'm interested in how to do deletions in onetomany relation. Im looking for help. I have User Role classes, and I want, when I deleting my Role, I want to kill relation link on User(role_id = null, like so on). How can I achieve this?