Description
Search roles by parent return an openjpa exception.
org.apache.openjpa.persistence.PersistenceException: Column "PARENT_ID_NAME" not found; SQL statement:
CREATE FORCE VIEW PUBLIC._152 AS
SELECT DISTINCT
SUBJECT_ID
FROM PUBLIC.ROLE_SEARCH
WHERE PARENT_ID_NAME = ?1 [42122-190]
[code=42122, state=42S22]
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:291) ~[openjpa-persistence-2.3.0.jar:2.3.0]
at org.apache.syncope.core.persistence.dao.impl.SubjectSearchDAOImpl.doSearch(SubjectSearchDAOImpl.java:364) ~[classes/:?]
at org.apache.syncope.core.persistence.dao.impl.SubjectSearchDAOImpl.search(SubjectSearchDAOImpl.java:155) ~[classes/:?]
at org.apache.syncope.core.rest.controller.RoleController.search(RoleController.java:216) ~[classes/:?]