diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dao/impl/GeofenceDAOImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dao/impl/GeofenceDAOImpl.java index c8253efc39f..68223d9806c 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dao/impl/GeofenceDAOImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dao/impl/GeofenceDAOImpl.java @@ -170,8 +170,8 @@ public class GeofenceDAOImpl implements GeofenceDAO { "DESCRIPTION = ?, " + "LATITUDE = ?, " + "LONGITUDE = ?, " + - "RADIUS = ? " + - "GEO_JSON = ? " + + "RADIUS = ?, " + + "GEO_JSON = ?, " + "FENCE_SHAPE = ? " + "WHERE ID = ?"; try (PreparedStatement stmt = conn.prepareStatement(sql)) {