Solutionunvalidated
Use a native query DTO mapping approach such as returning Object[]/Tuple and manually converting to FindAvailableEventResponseDto, or define an explicit DTO mapping (e.g., SqlResultSetMapping/constructor mapping) instead of relying on automatic record projection.
0cd4e92d-ba9c-4e55-afc4-97362c06447f
Use a native query DTO mapping approach such as returning Object[]/Tuple and manually converting to FindAvailableEventResponseDto, or define an explicit DTO mapping (e.g., SqlResultSetMapping/constructor mapping) instead of relying on automatic record projection.