PreparedStatement stmt;
ResultSet rs;
setErrorMessage("");
logger.debug("getLabelDataProperties ["+getUniqueID()+"]");
ResultSetHelperService rsh = new ResultSetHelperService();
clear();
try
{
stmt = Common.hostList.getHost(getHostID()).getConnection(getSessionID())
.prepareStatement(Common.hostList.getHost(getHostID()).getSqlstatements().getSQL("JDBLabelData.getProperties"));
stmt.setFetchSize(1);
stmt.setString(1, getUniqueID());
rs = stmt.executeQuery();
if (rs.next())
{
getPropertiesfromResultSet(rs);
if (mode.equals("heading"))
{
result = rsh.getColumnNames(rs);
}
else
{
result = rsh.getColumnValues(rs);
}
} else
{
setErrorMessage("Invalid UniqueID");