sreich
06/22/2022, 5:22 PMClass 'CmcSbsbSubsc' should have [public, protected] no-arg constructor
this doesn't seem to be a compiler issue though...it compiles fine through maven. Does this mean this intention is wrong because we are doing noarg at annotation time? and i should tell IDEA to ignore that warning on the class name?
@Entity
@Table(name = "CMC_SBSB_SUBSC", schema = "FACETCOR")
data class CmcSbsbSubsc(
@Id
@Column(name = "SBSB_CK", nullable = false)
val sbsbCk: Long,
@Column(name = "SBSB_ID", nullable = false)
val sbsbId: String
)
Mikhail
06/22/2022, 7:49 PMsreich
06/22/2022, 8:44 PMMikhail
06/22/2022, 8:59 PMFile -> Repair IDE
?Mikhail
06/22/2022, 9:00 PMashmelev
06/22/2022, 9:17 PMdata class
, just plain class
instead. Seems to work much betterMikhail
06/22/2022, 9:20 PMdata
on my JPA entities and override hashcode
and equals
. Works fine.sreich
06/23/2022, 2:54 PMsreich
06/23/2022, 4:49 PMantonarhipov
06/28/2022, 2:12 PM