cancel
Showing results for 
Search instead for 
Did you mean: 

in CustomUserEntityManagerFactory and UserQueryImpl

amir68
Champ in-the-making
Champ in-the-making
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.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
I'm not sure I'm understanding the question … what exactly are you trying to do?