Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Eclipselink query full package entity name

Hello,
I'm trying to use JBoss Seam security authorization and authentication with eclipselink. JBoss seam, creates the query to find the user as follows:
select u from br.com.softcomex.model.base.entity.SwUsuario u where u.username = :username

With Hibernate, this query seems to work. But with eclipselink, I get an error:

Caused by: Exception [EclipseLink-8024] (Eclipse Persistence Services - 1.1.1.v20090430-r4097): org.eclipse.persistence.exceptions.JPQLException
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.

Sincerely,
John


Back to the top