I am trying to store a JSON object in MySQL database in spring boot. I know I am doing something wrong but I a can\'t figure out what it is because I am fairly new to Spring
One animal is one record. You are saving more records, not one record. You can commit more records in one transaction.
See: How to persist a lot of entities (JPA)