public static void loadDbTableDataFromFile(DbSchema schema, DbTable table, Element etable) throws WaarpDatabaseSqlException, IOException {
		int read = 0;
		VitamReader reader = schema.identifier.getReader();
		Element erows = DocumentFactory.getInstance().createElement("rows");
		switch (table.type) {
			case CSVTYPE: {
				String[] values = null;
				// first row to ignore
				if (reader.readOneLine() != null) {
					int warning = 0;
					while ((values = reader.readOneLine()) != null) {
						read++;
						if (values.length != table.nbFields()) {
							logger.warn("Attention: nombre de champs insuffisant en ligne: "+(read+1));
							warning++;
						}
						addOneTableRow(table, values, read, 0, erows);
					}
					if (warning > 0) {
						logger.warn("Enregistrements lus: " + read + " Mal formés (CSV): " + warning);
					}
				}
			}
				break;
			case MULTIPLETYPE: {
				String[] values = null;
				while ((values = reader.readOneLine(table.rank)) != null) {
					read++;
					addOneTableRow(table, values, read, 1, erows);
				}
			}
				break;
			case UNIQUETYPE: {
				String[] values = null;
				while ((values = reader.readOneLine()) != null) {
					read++;
					addOneTableRow(table, values, read, 0, erows);
				}
			}
				break;
		}
		etable.add(erows);
		System.out.println("Enregistrements lues: " + read);
	}