Is it possible to write a unit test for a method that uses EL expressions 
within EJB-QL/HQL?  I attempted to do this and get the exception: 

 javax.persistence.PersistenceException: org.hibernate.QueryException: 
unexpected char: '#' 

The documentation states that: 

 Seam proxies the EntityManager or Session  object whenever you use a 
Seam-managed persistence context or inject a container managed persistence 
context using @PersistenceContext.

Does this not occur if the EntityManager is set using SeamTest and setField? 

Michael

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

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

Reply via email to