MySQL server version for the right syntax to use near

文件中可能含有unicode的空格,去掉空格即可

insert into virtualMachines   (   `name`,`status`,`state`,`hostCPU`,`hostMemory`,`provisionedSpace`,`usedSpace`,`ip`,`isFtpInstalled`   )   values   (   ?,   ?,   ?,   ?,   ?,   ?,   ?,   ?,   ?   )   
          ON DUPLICATE KEY UPDATE  `isFtpInstalled` =`isFtpInstalled`+1

你可能感兴趣的:(mybatis)