Hi,
In my applications Module-class I have a method like below for creating
a specific kind of JPA EntityManager.
@Scope(ScopeConstants.PERTHREAD)
public static EntityManager buildWebshopEntityManager(
@InjectService("WebshopEntityManagerFactory")
JPAEntityManagerFactory entityManagerFactory,
PropertyShadowBuilder propertyShadowBuilder) {
return propertyShadowBuilder.build(entityManagerFactory,
"entityManager", EntityManager.class);
}
Is it possible to override this WebshopEntityManager with an
AliasOverride in any way for unit testing?
I'm using Tapestry 5.1.0.5.
Best regards,
Joakim
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]