Hi Romain,
if I remember correctly the idea with a resolver was to make things
consistent over DS (similar constructs in the JSF module).
...and yes, there's a return missing (d'oh!). Will create a ticket / fix.


On Tue, Oct 1, 2013 at 6:39 PM, Romain Manni-Bucau <[email protected]>wrote:

> Hi,
>
> in org.apache.deltaspike.data.impl.handler.EntityManagerLookup#lookupFor we
> use the em resolver then we return the entityManager.get() instead of the
> result. Is it intended?
>
> Why not using a qualifier to resolve the em? It was easier IMO
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>

Reply via email to