``` val holder = GeneratedKeyHolder() return holde...
# spring
r
Copy code
val holder = GeneratedKeyHolder()
return holder.key.toLong()
I get "Expected type does not accept nulls in Kotlin, but the value may be null in Java" How to fix it?