From 4fdfc07e644d0a397692784c89812243b29eb206 Mon Sep 17 00:00:00 2001 From: "tcdlpds@gmail.com" Date: Thu, 1 Oct 2020 12:09:20 +0530 Subject: [PATCH] Fix SQL syntax error --- .../wso2/carbon/device/mgt/core/dao/impl/GeofenceDAOImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c8253efc39..68223d9806 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)) {