好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

json直接存入数据库

);

2.json数组

 List<DoctorAdviceRecords> doctorAdviceRecords = JSON.parseArray(jsonObject.get("data").toString(), DoctorAdviceRecords. class  );
          for  (DoctorAdviceRecords doctorAdviceRecord : doctorAdviceRecords){
              int  count = session.insert("doctorAdviceRecords.insert" , doctorAdviceRecord);
        } 

 

json直接存入数据库

标签:数组   cto   pre   oct   tostring   span   seo   json对象   rds   

查看更多关于json直接存入数据库的详细内容...

  阅读:22次