windows10操作系统下使用iobjectsjava10.0.1导入mdb数据至文件数据源udbx失败,导入gdb数据正常,在iDesktopX导入mdb至udbx正常,代码如下:
ImportSettingPersonalGDBVector importSettingMDB = new ImportSettingPersonalGDBVector();
importSettingMDB.setImportMode(ImportMode.OVERWRITE);
importSettingMDB.setTargetDatasource(datasource);
importSettingMDB.setSourceFilePath(filePath);
importSettingMDB.setTargetDatasetName("mdb_" + System.currentTimeMillis());
importSettingMDB.setImportMode(ImportMode.OVERWRITE);
importSettingMDB.setSourceFileCharset(Charset.UTF8);
importSettingMDB.setIsImportEmptyDataset(true);