[jboss-user] [JBoss Seam] - Re: @Filter example

fernando_jmt do-not-reply at jboss.com
Wed May 16 09:39:42 EDT 2007


The reason you got that error resides here:


  |          entity-manager-factory="#{entityManager}"
  | 

Just change your second persistence context as follows:


  | 
  | <core:managed-persistence-context name="filteredEntityManager"
  |          auto-create="true"
  |          persistence-unit-jndi-name="java:/entityManagerFactory">
  |    <core:filters><value>#{hubFilteredChannels}</value></core:filters>
  | </core:managed-persistence-context>	
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046140#4046140

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046140



More information about the jboss-user mailing list