diff --git a/java/src/main/java/com/genexus/webpanels/GXWebProcedure.java b/java/src/main/java/com/genexus/webpanels/GXWebProcedure.java index 53f102ae3..a4fa7b531 100644 --- a/java/src/main/java/com/genexus/webpanels/GXWebProcedure.java +++ b/java/src/main/java/com/genexus/webpanels/GXWebProcedure.java @@ -2,6 +2,7 @@ import java.io.PrintWriter; +import com.genexus.Application; import com.genexus.GXObjectBase; import com.genexus.mock.GXMockProvider; import com.genexus.servlet.IServletContext; @@ -122,4 +123,15 @@ protected void mockExecute() { } privateExecute( ); } + + protected boolean batchCursorHolder(){ + return false; + } + protected void exitApp() { + if (batchCursorHolder()) { + try { + Application.getConnectionManager().flushBuffers(remoteHandle, this); + } catch (Exception exception) { ; } + } + } } \ No newline at end of file