ServiceTraceRecordEntity str = builder.newInstance(); // Record is created.
}
else
{
EntityBuilder<CompositeTraceRecordEntity> builder = uow.newEntityBuilder( CompositeTraceRecordEntity.class );
CompositeTraceRecordEntity state = builder.instance();
state.source().set( object );
setStandardStuff( compositeType, method, args, entryTime, durationNano, state, exception );
CompositeTraceRecordEntity ctr = builder.newInstance(); // Record is created.
}
}