EclipseLink-6112 : Fetch group cannot be set on report query [message #1633021] |
Tue, 24 February 2015 11:29 |
Eclipse User |
|
|
|
Hi,
I am receiving following exeception in eclipselink -
javax.persistence.PersistenceException: Exception [EclipseLink-6112] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.QueryException
Exception Description: Fetch group cannot be set on report query.
Query: ReportQuery(referenceClass=CD_DC_CATALOG sql="...."
FetchGroup(){NAME}
Below is the JPA Query that is generated -
SELECT
t0."CATALOG_ID",
t0."AUTHOR"
FROM
"CD_CATALOG" t0,
"CD_DC_CATALOG" t1
WHERE
(
(
(
(
t1."CATALOG_ID" = '0Zoj2'
)
AND (
t1."CATALOG_ITEM_ID" = 'babed'
)
)
)
AND (
t0."CATALOG_ID" = t1."CATALOG_ID"
)
)
When the same query is executed through JDBC, it returns the expected result.
Any insight about why the exception is being thrown and how to workaround with it ??
Thanks,
Onkar
|
|
|
Powered by
FUDForum. Page generated in 0.07446 seconds