fixed update issue

4.x.x
ayyoob 8 years ago
parent 24586d0f2a
commit 415fae8007

@ -228,7 +228,7 @@ public class DeviceTypePluginDAO {
} }
private String getDeviceTableColumnNamesForUpdateQuery() { private String getDeviceTableColumnNamesForUpdateQuery() {
return StringUtils.join(deviceDAODefinition.getColumnNames(), "= ?,"); return StringUtils.join(deviceDAODefinition.getColumnNames(), "= ?,") + "= ?";
} }
private String getPreparedInputString(int length) { private String getPreparedInputString(int length) {

Loading…
Cancel
Save