Skip to main content

Craig Ringer: JPA 2.1 will support CDI Injection in EntityListener - in Java EE 7

Craig Ringer reports JPA 2.1 will support CDI Injection in EntityListener - in Java EE 7:

It's official... I've checked the JPA 2.1 spec, and in draft 3 the revision notes state that: Added support for use of CDI injection in entity listeners. Added requirement for Java EE container to pass reference to BeanManager on createContainerEntityManagerFactory call. This is good news...

Community: Java Enterprise