Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
minor refactoring: use public visible API instead on calling internal…
Browse files Browse the repository at this point in the history
… private stuff
  • Loading branch information
sarmbruster authored and Graeme Rocher committed Sep 5, 2011
1 parent 1437bbd commit 135ce33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public boolean isDirty(Object instance) {
return false;
}

Object entry = getEntryCache(instance.getClass(), false).get(id);
Object entry = getCachedEntry(persister.getPersistentEntity(), id, true);
return ((NativeEntryEntityPersister)persister).isDirty(instance, entry);
}

Expand Down

0 comments on commit 135ce33

Please sign in to comment.