Summary: | SessionBean testing deploy failed on JBoss-5.0.0.GA | ||
---|---|---|---|
Product: | z_Archived | Reporter: | Kevin Yuan <kevin.yuan> |
Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | test |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Kevin Yuan
2009-03-24 16:05:40 EDT
There is some info: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4162427#4162427 Based on the document for @PersistenceContext reference here http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html#PersistenceContext . Should be using unitName attribute and not the name attribute in org.eclipse.persistence.testing.models.jpa.sessionbean.EmployeeServiceBean.java, in this case. So the bean should be changed to: @PersistenceContext(unitName="sessionbean") By the way, the PU name should be sessionbean, not fieldaccess. Code reviewed by Yiping Zhao. Checked in EclipseLink 2.0 (revision: 4994) 1.2 (revision: 4996) 1.1.3 (revision: 4995) The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |