[seam-issues] [JBoss JIRA] Updated: (SEAMSECURITY-61) UserQuery QueryException on Glassfish 3.1 using EclipseLink
Pablo Martinez (JIRA)
jira-events at lists.jboss.org
Wed Apr 27 00:17:19 EDT 2011
[ https://issues.jboss.org/browse/SEAMSECURITY-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pablo Martinez updated SEAMSECURITY-61:
---------------------------------------
Description:
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}
was:
this code is throwing a QueryException
{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}
> 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
>
> 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