#671 - ENH: Add support for @View and extra-ddl.xml to nicely support entity beans based on views

This commit is contained in:
Robin Bygrave committed 2016-04-28 20:19:05 +12:00
1 parent 69c2810fbe
commit 81531b6cda
48 files changed
+1187 -255

No files matched your search

@@ -108,8 +108,8 @@ public class TransactionEvent implements Serializable {
/**
* Build and return the cache changeSet.
*/
public CacheChangeSet buildCacheChanges() {
CacheChangeSet changeSet = new CacheChangeSet();
public CacheChangeSet buildCacheChanges(boolean viewInvalidation) {
CacheChangeSet changeSet = new CacheChangeSet(viewInvalidation);
if (eventBeans != null) {
eventBeans.notifyCache(changeSet);
}