Fix for Issue 32 Deleted bean not removed from PersistenceContext

This commit is contained in:
Robin Bygrave committed 2013-06-27 23:23:20 +12:00
1 parent 4bbbad9b3b
commit 4f2f9a2e99
3 files changed
+86 -17

No files matched your search

@@ -52,6 +52,9 @@ public class DeleteHandler extends DmlHandler {
public void execute() throws SQLException, OptimisticLockException {
int rowCount = dataBind.executeUpdate();
checkRowCount(rowCount);
// Deletes the bean from the PersistenceContext
persistRequest.postDelete();
}
@Override