Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Reading Custom Query Hints

Hi,

I want to add a custom query hint to the queries I'm executing so that
I can read them later in a QueryRedirector and make decisions based on
them.

Looking at the query APIs, the only thing that comes close is
DatabaseQuery.getQueryHint() and DatabaseQuery.getProperties() which
don't have that information.

How can I go about getting the hints I set using either
query.setHint() or via @QueryHint annotations?

Any help is much appreciated.

Thanks,
Zarar


Back to the top