My work doing some processes like
- Load data from csv to MySQL(migration replica table - From MSSQL)
- read MySQL data to make a VO Java class
- When VO edited, will save to MySQL(another table)
The problem is ...
- open the CSV file, I can see special character
^@ - After
LOAD DATAThen doSELECTquery, the data does not contains^@ - However, I read same data via Java and restore to another table It store
\u0000
How to remove this \^0000 ?
The best solution in my current situation, I would like to handle in java code...
FYI,
- MSSQL dump made on Windows OS (From Client)
- MySQL Load data on Windows (Local dev environment)
- The program which perform migration is on CentOS(Server)