Skip to content

Commit

Permalink
Try to fix failing test on oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsrademakers committed Oct 21, 2013
1 parent 4e63ada commit 1e70b51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public ByteArrayEntity getEntity() {
}

public void delete() {
if (!deleted) {
if (!deleted && id != null) {
if (entity != null) {
// if the entity has been loaded already,
// we might as well use the safer optimistic locking delete.
Expand Down

0 comments on commit 1e70b51

Please sign in to comment.