Tuple assocEntryTuple = metadataProvider.createAndPutAssociationTuple( rowKey );
for ( String column : tuple.getColumnNames() ) {
assocEntryTuple.put(column, tuple.get(column) );
}
metadataProvider.flushToCache();
}
// Here the RowKey is made of the foreign key columns pointing to the associated entity
// and the identifier columns of the owner's entity
// We use the same order as the collection: id column names, foreign key column names