Anyone using jpa with kotlin and java? I have some code using metamodel, so for class Order, there is a Order_. This generation was done before compiling java when the project was pure java. Now when I added kotlin, it had to be before java compilation, and before metamodel (mm) generation because mm generation scans code as well. Now I wanted to rewrite some class that uses metamodel classes in kotlin, but now the problem is that since kotlin generation is before metamodel - i dont have access to those. I am new and still learning, so if anyone know how to solve this in kotlin, or if there is other configuration I am all ears.