I am testdriving Spring 2.1 using the new annotations for component configuration.
So far I've been using PersistenceAnnotationBeanPostProcessor to inject Entitymanager into my DAO's.
The problem is, that when I configure my DAO's using @Repository or @Component, the EntityManager doesn't get injected.
When configured inside a regular .xml file, everything is fine.
Is this the intended behavior?