fixed update issue

revert-70aa11f8
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