Hi, I have a field named: isPrivatePerson: Boolean...
# server
a
Hi, I have a field named: isPrivatePerson: Boolean? in my data class. The JDBI has a problem with it because it cannot find the getter starting with "get". Is there any solution for that besides adding the separated getter and setter manualy?
s
Annotate the field with this:
@get:JvmName("getIsPrivatePerson")
or whatever you’d like
❤️ 1
a
Awesome, thank you!
👍 1