[seam-issues] [JBoss JIRA] Resolved: (SEAMSECURITY-61) UserQuery QueryException on Glassfish 3.1 using EclipseLink
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Wed Apr 27 00:23:18 EDT 2011
[ https://issues.jboss.org/browse/SEAMSECURITY-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shane Bryzak resolved SEAMSECURITY-61.
--------------------------------------
Fix Version/s: 3.1.0.Final
Resolution: Done
Fixed in master.
> UserQuery QueryException on Glassfish 3.1 using EclipseLink
> ------------------------------------------------------------
>
> Key: SEAMSECURITY-61
> URL: https://issues.jboss.org/browse/SEAMSECURITY-61
> Project: Seam Security
> Issue Type: Bug
> Affects Versions: 3.0.0.Final
> Environment: Ubuntu 10.10, Glassfish 3.1, Seam 3.0.0.Final, EclipseLink (JPA 2)
> Reporter: Pablo Martinez
> Assignee: Shane Bryzak
> Fix For: 3.1.0.Final
>
>
> this code is throwing a QueryException (the identitySession.list(qry) line)
> {code}
> UserQuery qry = identitySession.createUserQueryBuilder().withUserId("admin").createQuery();
> try {
> this.users = identitySession.list(qry);
> } catch (QueryException ex) {
> ex.printStackTrace();
> }
> {code}
> Exception thrown: http://pastebin.com/2B8ev7sL
> special line:
> {code}
> Exception Description: Syntax error parsing the query [select t from domain.identity.IdentityObjectType t where t.name = :identityType], line 1, column 20: syntax error at [.].
> Internal Exception: UnwantedTokenException(found=., expected 80)
> at org.eclipse.persistence.exceptions.JPQLException.syntaxErrorAt(JPQLException.java:362)
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list