1 Reply Latest reply on Mar 21, 2007 6:42 AM by Carsten Hoehne

    Hardcoded persistence context name in EntityHome

    Joshua Jackson Master

      Dear all,

      Is there anyway the persistence context name inside org.jboss.seam.framework.EntityHome class retrieved from a configuration? Since I don't write entityManager for core:managed-persistence-context name in my components.xml.

      Or is there any consideration why to hard coded it?

      public class EntityHome<E> extends Home<EntityManager, E>
       protected String getPersistenceContextName()
       return "entityManager";

      Thanks in advance