deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Pestano <rmpest...@gmail.com>
Subject Re: CriteriaSupport Injection
Date Tue, 19 Jul 2016 11:10:37 GMT
Answering myself, Its possible (by extending CriteriaSupportHandler) but
not worth, better stick with  inheritance with current api(which is great).

Em seg, 18 de jul de 2016 11:28, Rafael Pestano <rmpestano@gmail.com>
escreveu:

> Hi guys,
>
> For sake of simplicity, I'd like to use the following construct:
>
> @Inject
> CriteriaSupport<Entity> entityCriteria;
>
>
> Is it possible? does it make sense for you?
>
> We already do that (generic query execution) with EntityManager itself but
> there is no criteria support.
>
> thanks in advance.
>
>
>
> --
> Att,
>
> Rafael M. Pestano
>
> Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
> http://rpestano.wordpress.com/
> @realpestano
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message