posted 10 years ago
hi,
in my project we are using jsf+ Hibernate+primefaces , the thing is in prime faces if we want to show datatable they have giving pre defined components, for every such component we have to pass list ( which contain objects for corresponding row) . From the hibernate we are getting list of object for corresponding table ,
where can i write logic to get Users from hibernate, i shouldn't write it in getUsers right because , i am not showing users in that table but i am also doing some CRUD operations on it so every time i access row from UI getUsers will be called . suggest me the Architecture for this kind of scenario