SQLServerException: Some part of your SQL statement is nested too deeply. [message #1001724] |
Thu, 17 January 2013 04:32  |
Eclipse User |
|
|
|
Hi,
I use the criteria builder to create a query. The query has a huge amount of parameters. I use this method:
final Predicate[] array;
criteriaBuilder.or(array);
Instead of using OR to concatenate the predicates it creates a nested query.
Shortened example:
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((APPL_INST = ?) OR (APPL_INST = ?)) OR (APPL_INST = ?)) OR (APPL_INST = ?)) OR (APPL_INST = ?)) OR (APPL_INST = ?)) OR (APPL_INST = ?)) OR (APP
In this case I could use IN but not in all cases the APPL_INST is the only parameter.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.35023 seconds