while (rs.next())
{
// add logging context
NDC.push(rs.getString(3));
// create the datapoint
CosDpValueTypeEnum dataType = DataPoint
.convString2CosDpValueTypeEnum(rs.getString(1));
EDataPointType type = EDataPointType.from_string(rs
.getString(4));
// validation
if (type == null || dataType == null)