JBoss Seam: How to Open jpa/hibernate session in view
问题 There is a similar question for Spring. But what about JBoss Seam, I need a suggestion regarding the application I am developing. If you need any specific version information, they are Seam 2.2 JSF 1.2 JPA 1 and Hibernate as persistence provider 回答1: Check out the seam documentation related to persistence contexts. http://docs.jboss.org/seam/2.2.0.GA/reference/en-US/html/persistence.html#persistence.seam-managed-persistence-contexts Essentially, you register the persistence context with seam