December 19, 2007, 12:47 PM
<David Ronne>SQL exception: java.sql.SQLException: ORA-01795: maximum number of expressions in a l
It appears that as long as there are more than 1000 reports in the report library Category/Domain, when we execute the getContentInfoList web service call on the
LibraryContentManagerWS we get:
SQL exception: java.sql.SQLException: ORA-01795: maximum number of expressions in a list is 1000
December 19, 2007, 01:01 PM
Francis Mariani1000 expressions is a common limit for a lot of SQL DBMS WHERE statements.
I'd open a case with IBI - they may be able to change the code for the getContentInfoList web service.
Like perhaps using SQL something like this:
SELECT * FROM table1 WHERE col1 IN
(SELECT col2 FROM table2)
where table2 is a temporary table containing a set of values - pure speculation.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 19, 2007, 02:01 PM
<David Ronne>Thanks Francis.
I'd rather they create a SQL statement like:
SELECT * FROM table1 WHERE col1 = "Category name"
I don't suppose you are aware of any work arounds?
December 20, 2007, 02:45 PM
Francis MarianiI think this works:
SELECT * FROM table1 WHERE (col1 in ("a", "b",... up to 1000 entries)( or (col1 in ("zq", "zr",... up to 1000 entries))
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 25, 2008, 12:12 PM
<Helpme>David/Francis,
We are aslo facing the same problem. Any updates on this issue?