if ( pcEntry != null ) {
subId = pcEntry.getId();
}
else {
log.debug( "Performing implicit derived identity cascade" );
final PersistEvent event = new PersistEvent( null, propertyValues[i], (EventSource) session );
for ( int x = 0; x < session.getListeners().getPersistEventListeners().length; x++ ) {
session.getListeners().getPersistEventListeners()[x].onPersist( event );
}
pcEntry = session.getPersistenceContext().getEntry( propertyValues[i] );