fixed update issue

This commit is contained in:
ayyoob 2016-11-08 23:40:28 +05:30
parent 24586d0f2a
commit 415fae8007

View File

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