Hello! As far as I know if I have an injection like
it will be injected for every method call independently if the method uses the entityManager or not. When using programatic lookup via
EntityManager entityManager = (EntityManager) Component.getInstance("entityManager");
I use the entityManager only in those methods where I need it at the cost of more handwritten code. Can someone tell me if there is a noticeable performance difference between both practices?
Retrieving data ...