Where can i find more information about the entityQuery lifecycle?
What method is called when?
I would like to use the functionality of pagination for my resultlist (and search option), but also want to add some functionality to add a booleancheckbox for every item.
After selecting a checkbox of one of the elements, and going to the next page e.g. my selectbox is reset because the ejbql is ran again or the 'old' resultset is returned.
I can't get any grip on the entityquery and don't know where to override what function.
Any help is appreciated.
Read the source code.
EntityQuery is by default in the event (request) scope. You can put it into conversation or session scope, but you'll need to take care of refreshing the query when the database changes yourself.