Hi Johan, 

Thank you very much for your answer, I will use a viewmodel as you are 
recommending it to me.

Regards!
Aída 

-----Mensaje original-----
De: Johan Doornenbal [mailto:[email protected]] 
Enviado el: jueves, 12 de octubre de 2017 5:45
Para: [email protected]
Asunto: Re: Query Attributes

Hi Aida,
It seems a bit 'out of scope' for an ORM to me…I do not know what your service 
looks like, but maybe you can wrap the entity (in a viewmodel for instance) or 
use a DTO that exposes the attributes you want to expose?
Best regards,
Johan Doornenbal+31 6 227 666 28  





On Wed, Oct 11, 2017 5:37 PM, Aída Betzabeth Dávila Sotelo 
[email protected]  wrote:
Hi,




We have a WebService that is a query from a class, at the moment to check the
response of the query it brings all the attributes of that class.

We want to know if there's a way that i can tell exactly what attributes need it
to bring?




The query is like @javax.jdo.annotations.Query




Thanks in advance

Aída Davila

Reply via email to