Home > Back-end >  Java after read CSV file storage problem
Java after read CSV file storage problem

Time:03-12

I now read after the CSV file save as List Form, each row is a Map, the String is the header, the Object's content
Then the problem is now, I want to put in storage this header and inconsistent database field, this should be how to deal with
For example, I now the header is [" test1 (%) ", "test2 - (db)", "test3/DBM"], is this a special characters, and then I want to the mysql database, field I define into test1 and test2 and test3, thus leading to my keys in the Map is "test1 (%)", this, so can't directly into the Treasury,
Is there any way to operate a minute of, or give some ideas barons, grateful
  • Related