"Max number of IN predicate entries" - Integer value representing the number of

Solution In Progress - Updated -

Issue

Hi,

ExecutionFactory.java
@TranslatorProperty(display="Max number of IN predicate entries", advanced=true)

"Max number of IN predicate entries" - Integer value representing the number of values allowed in an IN criteria

"Overriding this property will not allow collector visitor to collect objects from IN clause(if number of IN values exceeded) but it does not throw any exception."

Its ambiguous as its like IN parameter set is there but empty. Thus its not returning any result, creating an impression that records does not exist.
While the actual problem is that IN paramters are provided more than allowed number(which has been overridden in translator), which in turn prevent collector visitor to collect objects
and thus no value is passed to DB.

Is there some mechanism to find out or let user know that input query contains IN values more than allowed.

Environment

Red Hat JBoss Data Services

5.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content