accessing the database through getters considered as a bad approach, because the getter will be called more than you think, so i suggest filling your result list somewhere else, like bean construct method, ex: