private IServicesDecoratorProvider createCancelServiceDecoratorProvider() { return HibernateServiceToolkit.cancelServiceDecoratorProviderBuilder("tutorial3PersistenceUnit") .build(); }
private IServicesDecoratorProvider createJpaServiceDecoratorProvider() { final IJpaServicesDecoratorProviderBuilder builder = JpaServiceToolkit.serviceDecoratorProviderBuilder("tutorial3PersistenceUnit"); builder.addExceptionDecorator(HibernateServiceToolkit.exceptionDecorator()); return builder.build(); }