getLockData.setString(2, wsName);
// get result set
ResultSet result = getLockData.executeQuery();
if (result.next())
{
return new LockData(result.getString(COLUMN_NODE_ID), result.getString(COLUMN_TOKEN_HASH), result
.getBoolean(COLUMN_IS_DEEP), result.getBoolean(COLUMN_IS_SESSIONSCOPED), result.getString(COLUMN_OWNER),
result.getLong(COLUMN_TIMEOUT), result.getLong(COLUMN_BIRTHDAY));
}
return null;
}