From 5e98e816cf4beebbef4f5a5dafd00afcdf0fbfd0 Mon Sep 17 00:00:00 2001 From: Pahansith Date: Wed, 30 Sep 2020 18:04:28 +0530 Subject: [PATCH] Fix issue in geofence creation --- .../wso2/carbon/device/mgt/core/dao/impl/GeofenceDAOImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7f64c04923..c8253efc39 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 @@ -53,7 +53,7 @@ public class GeofenceDAOImpl implements GeofenceDAO { "CREATED_TIMESTAMP, " + "OWNER, " + "TENANT_ID) " + - "VALUES (?, ?, ?, ?, ?, ?, ?, ?)"; + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; try (PreparedStatement stmt = conn.prepareStatement(sql)) { stmt.setString(1, geofenceData.getFenceName()); stmt.setString(2, geofenceData.getDescription());