]
Shane Bryzak reassigned SEAMSECURITY-61:
----------------------------------------
Assignee: Shane Bryzak
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
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: