06/28/2022, 6:13 PM
i'm running into an issue with JPA/hibernate and the spring jpa plugin, which is supposed to generate no-arg ctors for each class. It does...BUT, it does not do so for composite key classes. for example. I understand why this is..because no-args is looking for particular annotations. but what annotation can I mark here, to not conflict with anything in hibernate, but get no-args to see it? Short of making my own annotation EDIT: i think i need
to get it to work. hopefully that doesn't interfere
class CmcMepePrcsEligId(
val memeCk: Long,
val cspdCat: String
) : Serializable {
companion object {
private const val serialVersionUID = 1L