Dmitry
spring-data-jpa
lateinit
@Entity data class Example(...) { ... @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "anotherId", insertable = false, updatable = false) lateinit var another: AnotherEntity }
latenit
repository.save(example)
another
lateinit property has not been initialized
A modern programming language that makes developers happier.