s1m0nw1
08/10/2018, 5:56 AMEntity
should be defined. It seems a good idea to just use data
classes. That's probably not the best thing to do though as properties (esp. auto-generated ID) change after an entity has been persisted, which makes the Kotlin-generated equals/hashcode functions yield other results (this is a problem in hashed collections e.g.). Read here: https://stackoverflow.com/questions/1638723/how-should-equals-and-hashcode-be-implemented-when-using-jpa-and-hibernateMaksim Vlasov
07/02/2019, 3:44 PMMaksim Vlasov
12/03/2019, 3:35 PM