]
Pete Muir commented on JBSEAM-3124:
-----------------------------------
All of the stack trace please!
How to produce: No active JTA transaction on joinTransaction call
-----------------------------------------------------------------
Key: JBSEAM-3124
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3124
Project: Seam
Issue Type: Quality Risk
Components: Core
Affects Versions: 2.0.1.GA
Environment: JBoss 4.2EAP, Faceslets
Reporter: Terry
Priority: Optional
Fix For: The future
Following unrelated exception is thrown, if in EntityQuery extented class, there is a
space in # and { or EL of Restrictions list. eg,
private static final String[] RESTRICTIONS = {
"lower(orgCampus.id) = #
{courseSysCourseList.selectedOrgCampusIdConverted}",
"lower(org.id) = #{courseSysCourseList.selectedOrgIdConverted}",
}
Caused by: javax.persistence.TransactionRequiredException: No active JTA transaction on
joinTransaction call
at
org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:469)
at
org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:442)
at
org.jboss.seam.persistence.EntityManagerProxy.joinTransaction(EntityManagerProxy.java:120)
at
org.jboss.seam.transaction.AbstractUserTransaction.enlist(AbstractUserTransaction.java:73)
at org.jboss.seam.framework.EntityQuery.joinTransaction(EntityQuery.java:230)
Perhaps a more appropriate exception would be helpful in this instance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: