]
Andrew Redhead updated EJBTHREE-912:
------------------------------------
Attachment: xmleminjection-pu-test.jar
xmleminjection-test.jar
build-test.xml
The built test cases and my "bent" version of the test-build.xml file I added a
target called xmleminjection to build the jar files and added a fragment in
no-start-jboss-entity-tests to run the jars.
ejb-jar.xml injected EntityManger fails in @PostConstruct annotated
methods
---------------------------------------------------------------------------
Key: EJBTHREE-912
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-912
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC9 - Patch 1
Environment: Identified on jboss-4.0.5.GA from jems installer 1.2.GA, still
present in head from svn co
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/
as of 13th March 2007. Tests run agains JDK 1.5 on Win XP (sp2)
Reporter: Andrew Redhead
Attachments: build-test.xml, resources-xmleminjection.zip,
src-xmleminjection.zip, xmleminjection-pu-test.jar, xmleminjection-test.jar
Using an ejb-jar.xml file to inject an EntityManger into an EJB3 stateless session bean
succeeds for bean interface methods but fails for @PostConstruct methods.
In both cases the reference to the EntityManager is non-null, however in the
@PostConstruct method, accessing the EnityManger underlying delegate fails.
The test cases provide both an "API" interface case (which passes) and an
@PostConstruct case, which currently fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: