当我的CSVLoader文件没有在我的数据库中插入数据时出错,我在我的控制台中得到了这个
FieldName(UploadDownloadFileServlet)= fileName
FileName(UploadDownloadFileServlet)= prueba2.csv
ContentType(UploadDownloadFileServlet)= application / vnd.ms-excel
以字节为单位的大小(UploadDownloadFileServlet)= 47
服务器上的绝对路径(UploadDownloadFileServlet)= C:\ Users \ SISTEMAS \ workspaceEclipse.metadata.plugins \ org.eclipse.wst.server.core \ tmp0 \ wtpwebapps \ SAC-sin-impresion \ uploadedCsvFiles \ prueba2.csv < / p>
查询:INSERT INTO MATRICULA(C:UsersSISTEMASworkspaceEclipse.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsSAC-sin-impresionuploadedCsvFilesprueba2.csv)VALUES(?)
[CSVLoader]:加载到MATRICULA DB表中的0条记录
这是我的代码:
for (int i = 2; i * i <= checking; i++)