|Eclipse Link JBoss Seam query full package entity name [message #388491]
||Mon, 01 June 2009 13:13
| John Augusto Charnet
Registered: July 2009
I'm trying to use JBoss Seam security authorization and authentication
JBoss seam, creates the query to find the user as follows:
select u from com.package.test.User u where u.username = :username
With Hibernate, this query seems to work. But with eclipse link, I get an
Caused by: Exception [EclipseLink-8024] (Eclipse Persistence Services -
Exception Description: Syntax error parsing the query [select u from
br.com.softcomex.model.base.entity.SwUsuario u where username =
:username], line 1, column 16: syntax error at [.].
Internal Exception: MismatchedTokenException(71!=66)
It seems that eclipselink does not translate the full package entity name
to a single name.
Is this an issue, a misconfiguration or a feature (not support queries
with full package names).
Thanks a lot.
Powered by FUDForum
. Page generated in 0.04299 seconds