Hi ! I’m new here.
I’am using JPA
in KOTLIN. In code below I have to use java.lang.Long
@Suppress("I HATE THIS WARNING!!!")
val count: Long = entityManager.createQuery(qlForCount, java.lang.Long::class.java)
.setParameter("x", x)
.setParameter("y", y)
.setParameter("xd", xd)
.setParameter("yd", yd)
.singleResult
.toLong()
I’d love to suppress the warning, but i do NOT kown correct name of @Suppress
what i shoud use.
Is some doc can help ?
Thank you.