Skip to main content



      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 03:03 Go to next message
Eclipse UserFriend
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] Thu, 30 March 2017 20:06 Go to previous message
Eclipse UserFriend
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: Thu, 30 March 2017 20:07] by 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: Mon Jul 07 21:20:00 EDT 2025

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

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

Back to the top