Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Unrecognized query hint [](HHH000121: Ignoring unrecognized query hint [])
Unrecognized query hint [] [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

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 []

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,
Re: Unrecognized query hint [] [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: 1289
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:Exception in thread "main" Local Exception Stack:
Next Topic:Usage of QueryHint INHERITANCE_OUTER_JOIN
Goto Forum:

Current Time: Thu Mar 22 14:08:30 GMT 2018

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

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