diff --git a/java-sdk-common/src/main/java/com/backendless/DataStore.java b/java-sdk-common/src/main/java/com/backendless/DataStore.java index b1fab99..6867a06 100644 --- a/java-sdk-common/src/main/java/com/backendless/DataStore.java +++ b/java-sdk-common/src/main/java/com/backendless/DataStore.java @@ -50,7 +50,7 @@ public T save( final T entity ) throws BackendlessException @Override public T save( final T entity, boolean isUpsert ) throws BackendlessException { - return persistence.save( entity ); + return persistence.save( entity, isUpsert ); } @Override @@ -62,7 +62,7 @@ public void save( final T entity, final AsyncCallback responder ) @Override public void save( final T entity, boolean isUpsert, final AsyncCallback responder ) { - persistence.save( entity, responder ); + persistence.save( entity, isUpsert, responder ); } @Override