MismatchedTokenException [message #1234238] |
Tue, 21 January 2014 14:11 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Sendhil Kumar![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=sendhil.mohan%40credit-suisse.com) Messages: 7 Registered: January 2014 |
Junior Member |
|
|
Hi All,
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.03392 seconds