I m unable to use List<Users> and Optional<Users> to create a function which returns all the users.in spring boot. I have used jpa repository

28 views Asked by At

I m unable to use List and Optional to create a function which returns the list of all users. It says list and optional is not generic type. I have created repository using jpa repository.

I m expecting list and optional both are generic

0

There are 0 answers