public static void createDataMappers(final MappingData fromData,
final MappingData toData) throws SyncDatabaseException {
if (fromData == null || toData == null
|| fromData.getColumnCount() != toData.getColumnCount()) {
throw new SyncDatabaseException("error.argument");
}
for (int i = 0; i < fromData.getColumnCount(); i++) {
int fromType = fromData.getColumnType(i);
int toType = toData.getColumnType(i);