I have written a simple spring boot application to do CRUD operations on a in memory H2 database, I am loading couple of records into my table using data.sql file.
When I do a findAll on my entity table, I see that it is returning 2 blank entries like this - [{},{}]
I have verified that there are values in the table and I am also able to see the values when I print the list entry explicitly like list.get(0) using overridden toString method.
Please advise me if I am doing anything wrong, I am just writing a simple api which returns all records in that database table.
Thanks, Neeraj