if I want to use @Transactional in my Seam's JavaBean componet, but the EntityManagerFactory or EntityManager is defined in Spring context, How could I configure Seam to use the EntityManagerFactory or EntityManager?
I use Seam 2.0.0 GA.
Thanks!
You can inject the EntityManagerFactory into the ManagedPersistenceContext using components.xml
<persistence:managed-persistence-context name="entityManager" entity-manager-factory="#{entityManagerFactory}"/>