Merge branch 'corrective-policy' into 'corrective-policy'

Fix SQL syntax error

See merge request entgra/carbon-device-mgt!654
This commit is contained in:
Inosh Perara 2020-10-01 06:48:58 +00:00
commit 4c905358e9

View File

@ -170,8 +170,8 @@ public class GeofenceDAOImpl implements GeofenceDAO {
"DESCRIPTION = ?, " + "DESCRIPTION = ?, " +
"LATITUDE = ?, " + "LATITUDE = ?, " +
"LONGITUDE = ?, " + "LONGITUDE = ?, " +
"RADIUS = ? " + "RADIUS = ?, " +
"GEO_JSON = ? " + "GEO_JSON = ?, " +
"FENCE_SHAPE = ? " + "FENCE_SHAPE = ? " +
"WHERE ID = ?"; "WHERE ID = ?";
try (PreparedStatement stmt = conn.prepareStatement(sql)) { try (PreparedStatement stmt = conn.prepareStatement(sql)) {