Your first statement selects record in DB without any where clause, second statement has one
openRequestVw.HUB_NAME == hubName
You told us that there is only one record in DB, so does HUB_NAME equal to hubName ?
Your first statement selects record in DB without any where clause, second statement has one
openRequestVw.HUB_NAME == hubName
You told us that there is only one record in DB, so does HUB_NAME equal to hubName ?