"mlh496" wrote : Thank you so much for your response.  At least now I'm getting 
different error messages.  :-)
  | 
  | There seems to be some conflicts in the Seam documentation.  Do you need a 
"entity-manager-factory" node as well?  In some places I've read where this 
configuration is needed (even though it never works for me):
  | 
  |    <core:managed-persistence-context name="entityManager"
  |   |                               auto-create="true"
  |   |                    
entity-manager-factory="#{omegaEntityManagerFactory}"/>
  |   | 
  |   |    <core:entity-manager-factory name="omegaEntityManagerFactory" 
  |   |                persistence-unit-name="omega"/>
  | 
  | In Seam 1.2, which is the correct way to create the entityManager component 
when deploying to Tomcat?
  | 
  | All the best,
  | -Michael

I'm using the EntityQuery successfully, and in my components.xml I have


  |     <core:managed-persistence-context name="entityManager" 
auto-create="true"
  |             persistence-unit-jndi-name="java:/fbEntityManagerFactory" />
  | 

All of the Seam framework components (EntityController, Homes and Queries 
expect to find persistence-context named entityManger, though you can override 
these (look at the source, there's a getPersistenceContextName() method in 
each).

What exceptions are you seeing?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027336
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to