[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-1533) JPA-QL syntax validation is not aware of EL
Max Andersen (JIRA)
jira-events at lists.jboss.org
Thu Jan 17 16:18:19 EST 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1533?page=all ]
Max Andersen resolved JBIDE-1533.
---------------------------------
Resolution: Done
we are now replacing EL's with named parameters.
all non java letters are replaced with _, so "from Person p where p.id = #{person.blah['dfdf']}" will be transformed into "from Person p where p.id = :_person_blah__dfdf___" otherwise Hibernate fails badly.
> JPA-QL syntax validation is not aware of EL
> -------------------------------------------
>
> Key: JBIDE-1533
> URL: http://jira.jboss.com/jira/browse/JBIDE-1533
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Affects Versions: 2.0.0.GA
> Reporter: Gavin King
> Assigned To: Max Andersen
> Priority: Critical
> Fix For: 2.0.1
>
>
> If you put #{foo.bar} in your JPA-QL in a seam action, JBoss Tools sticks a big red cross on it.
> The JPA-QL parser needs to be aware of embedded EL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list