cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with find by parameters in Application Services

Former Member
0 Kudos

Hello all,

I have 3 entity services, AES, BES, and CES. AES has 4 fields, which are id, name and two references (one to CES and another one tho BES). Ive created an operation called findByParameters that receives the 4 four fields as parameters.

When I test this operation, it works fine. Ok so far.

After that, Ive implemented an Application Service called AAS that has AES as a dependent. Ive implement the same findByParameters operation (query operation in application services) and its code is like this:

return getAESService().findByParameters(parameters).

When I test the application service operation, all the AES objects are returned but the refereces are not returned. The AES returned has the id and name fields, but not the BES and CES references. And testing the findByParameters in the entity service, the referenced objects are returned.

Does anyone have already seen this problem ?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Add BES and CES also as dependents to the AAS.

Thanx,

Mahesh

Answers (0)