Seam Persistence 使得受管的Beans可支持事务处理,同时提供 Seam Managed Persistence Context, a conversation scoped extended persistence context for use in CDI based applications.
使用示例
@Produces @ConversationScoped @SeamManaged @PersistenceUnit(unitName=”myPu”) EntityManagerFactory factory;