diff --git a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/IMassUploader.java b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/IMassUploader.java index 243474ebcfb1fc67ca7f4283f6e989f212655b74..8199461e930a71c020f5a26bca00f9505b0812c2 100644 --- a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/IMassUploader.java +++ b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/IMassUploader.java @@ -21,7 +21,7 @@ import java.io.File; /** * Classes that implement this interface encapsulate mass uploading of tabular files to the database. The files to be * processed by implementations of this class are supposed to be <code>csv</code> files that can be uploaded to - * exactly one table. They need to follow the naming convention <code>orderSpecifier::tableName.csv</code>. Here the + * exactly one table. They need to follow the naming convention <code>orderSpecifier=tableName.csv</code>. Here the * order specifier ensures that the dependency is right while the table name is the name of the table to upload the data * to. * @@ -34,7 +34,7 @@ public interface IMassUploader * Upload the data from file <var>massUploadFile</var> to the database. * * @param massUploadFile File to upload to the database, following the naming convention - * <code>orderSpecifier::tableName.csv</code>. + * <code>orderSpecifier=tableName.csv</code>. */ public void performMassUpload(File massUploadFile); diff --git a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/PostgreSQLMassUploader.java b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/PostgreSQLMassUploader.java index d5002edd0e0fb080fe0cb30b462aea12f5551653..e18454d44bc48be091abbbacc16b5ce538ade8c3 100644 --- a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/PostgreSQLMassUploader.java +++ b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/PostgreSQLMassUploader.java @@ -57,7 +57,7 @@ public class PostgreSQLMassUploader implements IMassUploader try { final CopyManager copyManager = getPGConnection().getCopyAPI(); - final String[] splitName = StringUtils.split(massUploadFile.getName(), "::"); + final String[] splitName = StringUtils.split(massUploadFile.getName(), "="); assert splitName.length == 2; final String tableNameWithExtension = splitName[1]; assert tableNameWithExtension.endsWith(".csv");