diff --git a/src/org/openbravo/mobile/core/servercontroller/TransitionToOnlineHandlerTest.java b/src/org/openbravo/mobile/core/servercontroller/TransitionToOnlineHandlerTest.java
new file mode 100644
--- /dev/null
+++ b/src/org/openbravo/mobile/core/servercontroller/TransitionToOnlineHandlerTest.java
@@ -0,0 +1,26 @@
+package org.openbravo.mobile.core.servercontroller;
+
+import java.sql.SQLException;
+
+import org.openbravo.service.db.DalConnectionProvider;
+
+public class TransitionToOnlineHandlerTest extends MobileServerTransitionToOnlineHandler {
+  @Override
+  public void processTransactions() {
+
+    try {
+      DalConnectionProvider.getReadOnlyConnectionProvider()
+          .getPreparedStatement("select count(1) from c_order where c_order_id = 'asd';")
+          .executeQuery();
+    } catch (SQLException e) {
+    } catch (Exception e) {
+    }
+
+  }
+
+  @Override
+  public boolean isReadyToGoOnline() {
+    return true;
+  }
+
+}
