final TableSpecification tabe = entityBinding.getBaseTable();
AttributeBinding attributeBinding = null;
for ( Object attribute : entityClazz.getPropertyOrManyToOneOrOneToOne() ) {
if ( XMLBagElement.class.isInstance( attribute ) ) {
XMLBagElement collection = XMLBagElement.class.cast( attribute );
BagBinding collectionBinding = makeBagAttributeBinding( collection, entityBinding );
bindingContext.getMetadataImplementor().addCollection( collectionBinding );
attributeBinding = collectionBinding;
}
else if ( XMLIdbagElement.class.isInstance( attribute ) ) {