i had the same problem, only in my case, no mutation was occurring the the getter/setters, it was a custom data type (JGeometryType) that was triggering the change. So in my case, adding
@Access(AccessType.FIELD)
didn’t do anything, I used:
column 加上 insertable = false, updatable = false
@Column(name = “GEOM”, insertable=false, updatable=false)
as a temporary fix until I find out exactly where that customdatatype is messing with things-
reference: https://forum.hibernate.org/viewtopic.php?t=979630&start=0&postdays=0&postorder=asc&highlight=
[java] hibernate 執行 list 時會自動 update
分類:java