Код: Выделить всё
org.springframework.orm.jpa.JpaSystemException: Unknown wrap conversion requested: java.util.ArrayList to java.lang.string: 'org.hibernate.type.descriptor.java.StringJavaType'
< /code>
jpa -запрос < /p>
@Query(value ="select s from table s where (coalesce(:users,1)='1' or s.user in :users) and "
+ "(coalesce(:employees,1)='1' or s.employee in :employees) and "
+ "(:number=null or s.salary=:number)")
List findTable(@Param("users") List users,
@Param("employees") List employees,
@Param("number" Long number),
Pageable paging);
Подробнее здесь: https://stackoverflow.com/questions/764 ... ing-boot-3