Here are the results i got after trying out all spring abstract support
classes for JUnit :
Spring Test Superclass
Test result
Problem
org.springframework.test.AbstractDependencyInjectionSpringContextTests
Pass
org.springframework.test.AbstractTransactionalSpringContextTests
Pass
or
"Are you game for trying out the parent of
AbstractTransactionalSpringContextTests and so on till it breaks so we
can get that data for the doc as well? Also, do you have any small
sample test case code we could possibly show?"
Sure, count me in :-). I'll post the results as soon as I get
I went for the naughty option for printing out the classpath and it worked
from within the test case, but didn't work with the bean factory. Apparently
the problem is in org.springframework.test.jpa.AbstractJpaTests which
internally uses
org.springframework.test.jpa.OrmXmlOverridingShadowingClassL
throw new RuntimeException(e);
> }
> }
>
> public Class getObjectType(){
> return EntityManager.class;
> }
>
> boolean isSingleton() {
> return true;
> }
> }
>
> You could likely expa
I've been playing with OpenEJB for a few days now trying to make it work with
an application that uses an EJB facade that delegates to a spring-managed
service pojo that relies on an EAO to retrieve and persist data. So far
OpenEJB works fine as a container for the ejb, but i can't still figure ou