Hello,
I’m using EJB 2.x and I stumple upon following problem.
I have simple CMP entity with single CMR to another CMP. I need to get a list of values from this entity and transfer it to the client.
I want to transfer only selected values encapsulated in tailored Transfer Object. Right now, if I use ejbFindXXXX method I receive EJB Entity that I do not want to expose to the client. To return list of Transfer Objects I would have to iterate through this list and convert every single value to my TO which is not very performance-wise.
What I would like to do is execute tailored ejbSelect method, that only fetches data from DB and puts them into list of objects of my class.
Is this possible?
Cheers,
Radoslaw Grzanka