You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conn.prepareStatement("update physical_network_traffic_types set vmware_network_label = " + newLabel + " where traffic_type = '" + trafficType +
696
-
"' and vmware_network_label is not NULL;");) {
695
+
conn.prepareStatement("update physical_network_traffic_types set vmware_network_label = ? where traffic_type = ? and vmware_network_label is not NULL;");) {
697
696
s_logger.debug("Updating vmware label for " + trafficType + " traffic. Update SQL statement is " + pstmt);
697
+
pstmt.setString(1, newLabel);
698
+
pstmt.setString(2, trafficType);
698
699
update_pstmt.executeUpdate();
699
700
}catch (SQLExceptione) {
700
701
thrownewCloudRuntimeException("Unable to set vmware traffic labels ", e);
0 commit comments