Skip to content

Tag: spring-data-jpa

How can I show Multiple Rows in JSON

I need to show sql result in a JSON like this in a spring boot app. Class Repo Service Controller I’m getting this message on log: query did not return a unique result: 94; nested exception is >javax.persistence.NonUniqueResultException: query did not return a unique result: 94 After that, I wanna de…