EntityMapping catalogMapping = fluentMapping
.entity( Catalog.class );
if ( withClassBridgeOnCatalog ) {
catalogMapping.classBridge( NoopClassBridge.class );
}
catalogMapping
.property( "catalogItems", ElementType.FIELD ).containedIn();
// mapping for CatalogItem
fluentMapping.entity( CatalogItem.class )
.property( "item", ElementType.FIELD ).containedIn()