Anybody have an answer for my question about the `...
# spring
s
Anybody have an answer for my question about the
jpa
plugin with MappedSuperclass from a few days ago?
d
Did you add the maven equivalent of
noArg { annotation("javax.persistence.MappedSuperclass") }
to your maven file?
e
only thing I see is TenantWebhookSubscription isn’t a data class
s
@dmulligan the jpa plugin includes that by default.
@Ed M we had tried different combinations of data classes including making the subclass a data class
😭
e
What version of Kotlin are you using?
can you share your build.gradle file
s
Using 1.1.51 and it's a large inherited pom structure using an enterprise BOM Do you need the build section?
e
nah don’t worry about it, i was just curious if you’re properly applying the noarg plugin, but if you say you are, then idk what’s going on do you think you could throw together a quick and dirty sample on github or something that you can share to reproduce?
s
@Ed M Hmm. I could try. I know we're using the noarg plugin correctly because we have about 70 jpa entities already specified in kotlin, this is the first we've needed to do inheritance with though.
give me the night and I'll see if I can make one.
e
I recently used a Kotlin Sealed class with inheritance and it worked, but I was using a discriminator column instead of strict inheritance