Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Unrecognized query hint [eclipselink.fetch-group.name](HHH000121: Ignoring unrecognized query hint [eclipselink.fetch-group.name])
Unrecognized query hint [eclipselink.fetch-group.name] [message #1756098] Sat, 11 March 2017 08:03 Go to next message
Ida Li is currently offline Ida LiFriend
Messages: 1
Registered: March 2017
Junior Member
Hi,

I am using Eclipeslink 2.6.4 with wildfly-swarm 1.0.0.Final. When I using fetchgroup, I got this message:
HHH000121: Ignoring unrecognized query hint [eclipselink.fetch-group.name]

Here is my code:

TypedQuery tq = em.createNamedQuery("namedquery", Type);
tq.setParameter("id", 123);
tq.setHint(QueryHints.FETCH_GROUP_NAME, "groupname");

the fetchgroup is configured in entity level, and I also have eclipselink.weaving enabled.

Does anyone know why it is not working? Thanks for any helping.

Best regards,
IL
Re: Unrecognized query hint [eclipselink.fetch-group.name] [message #1758643 is a reply to message #1756098] Fri, 31 March 2017 00:06 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1300
Registered: July 2009
Senior Member
Your exception starts with "HHH000121" which is an indicator you are NOT using EclipseLink. You'll need to check your configuration, as your server is returning you an EntityManager from another provider.

[Updated on: Fri, 31 March 2017 00:07]

Report message to a moderator

Previous Topic:[SOLVED] - Impossible to store Large CLOBS with Oracle11Platform and Oracle 11g
Next Topic:Datetime mapping on SQLite data source
Goto Forum:
  


Current Time: Tue Sep 25 07:01:10 GMT 2018

Powered by FUDForum. Page generated in 0.05732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top