|MismatchedTokenException [message #1234238]
||Tue, 21 January 2014 14:11
| Sendhil Kumar
Registered: January 2014
Am new to eclipselink....
Am getting following error, when doing createQuery,
Query q = entityManager.createQuery(select appUser from com.csfb.csar.exman.shared.config.UserVo$AppUser appUser where appUser.userId='kumar');
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Syntax error parsing the query [select appUser from com.csfb.csar.exman.shared.config.UserVo$AppUser appUser where appUser.userId='kumar'], line 1, column 23: syntax error at [.].
Internal Exception: MismatchedTokenException(83!=78)
Any idea what is the issue?
Here AppUser is an inner class of UserVo class.
Whether inner class is supported with eclipse link?
Am trying to migrate to eclipselink from hibernate.
[Updated on: Tue, 21 January 2014 18:08]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01992 seconds