package com.foo.bar.domain.query;
// Strange "import" text
import ?;
//...
import extends;
import java.lang.Object;
// Some things are omitted
lateinit var params: PScalar<QDevice, Map<String,? extends Object>>
Steps to reproduce
package com.foo.bar.domain
import io.ebean.annotation.DbMap
import jakarta.persistence.*
@Entity
@Table(name = "devices")
class Device(@Column(length = 50, unique = true) val name: String) {
@Id
var id: Int = 0
@DbMap(length = 800)
var params: Map<String, Any> = mapOf()
}
Environment
Java 11, Kotlin 1.7.22, Gradle 8.5 ebean 14.7.0 | 15.7.0, h2database :2.3.232
Expected behavior
Generate
lateinit var params: PScalar<QDevice, Map<String,Any>>
Actual behavior
Path: build/generated/source/kaptKotlin/main/com/foo/bar/domain/query/QDevice.kt
Steps to reproduce
Screenshot