AnsweredAssumed Answered

in CustomUserEntityManagerFactory  and UserQueryImpl

Question asked by amir68 on Feb 10, 2016
Latest reply on Feb 11, 2016 by jbarrez
hi.

can i get resultType in this @Override Method?




@Component
public class CustomUserEntityManager
        extends AbstractManager
        implements UserIdentityManager {




@Override
    public List<User> findUserByQueryCriteria(UserQueryImpl query, Page page) {
   
    //for example ->query.getResultType();
    }

i use identityService in program and use singleResult(). but my result return list with two objects ,that throw exception.
i need check it in this method.
Thanks.

Outcomes