Persisting a JSON Object using Hibernate and JPA

后端 未结 4 858
庸人自扰
庸人自扰 2020-12-13 07:19

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

4条回答
  •  暖寄归人
    2020-12-13 08:18

    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)

提交回复
热议问题