[英]How to get What elements are added or removed from collection in hibernate
我已经在 hibernate 中实现了 PostCollectionUpdateEventListener 我想知道有没有办法找出集合中更改的数据
PersistentCollection collection = event.getCollection();
collection.getValue();
这给了我想要的结果
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.