Re: Help with OpenEJB3 and Spring IoC

2008-06-16 Thread Jon Carrera
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

Re: Help with OpenEJB3 and Spring IoC

2008-06-12 Thread Jon Carrera
"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

Re: Help with OpenEJB3 and Spring IoC

2008-06-09 Thread Jon Carrera
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

Re: Help with OpenEJB3 and Spring IoC

2008-06-06 Thread Jon Carrera
throw new RuntimeException(e); > } > } > > public Class getObjectType(){ > return EntityManager.class; > } > > boolean isSingleton() { > return true; > } > } > > You could likely expa

Help with OpenEJB3 and Spring IoC

2008-06-05 Thread Jon Carrera
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