EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification. 
X Wiki
  History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: EZB-52
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Florent BENOIT
Reporter: Eduardo S.E. de Castro
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
EasyBeans

Support PersistenceUnit reference injection using only the @PersistenceUnit attribute "name".

Created: 26/Jul/06 01:45 PM   Updated: 01/May/08 08:11 PM
Component/s: APIs
Affects Version/s: EasyBeans 1.0 M1, EasyBeans 1.0 M2
Fix Version/s: EasyBeans 1.0 M4


 Description  « Hide
  A PersistenceUnit reference can be injected using the annotation @PersistenceUnit. When there is
only one persistent unit declared in the jar file, it is not mandatory to define the the attribute "unitName".
  In the case, which only the attribute "name" is specified, the injected resource can be found in the JNDI using the value of the attribute "name".

Reference: EJB 3.0 Core Specification - 16.10.1.1
Available tests: org.objectweb.easybeans.tests.environment.reference.persistenceunit.TestPersistenceUnitRefFieldInjection.test00
org.objectweb.easybeans.tests.environment.reference.persistenceunit.TestPersistenceUnitRefMethodInjection.test00

 All   Comments   Change History   Related Builds      Sort Order:
Florent BENOIT - 27/Sep/06 02:33 PM
Task done

Florent BENOIT - 01/May/08 08:11 PM
Was fixed in a previous version


Copyright © 2006-2007 EasyBeans / ObjectWeb consortium

http://www.easybeans.org