Bug 356 : Query Batch Size of 100 causes Invalid Number Exception in ORA
Priority 
High
Reported Version 
 
Logged By 
e.mcgreal
Status 
Fixed
Fixed Version 
2.7.3
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
24/02/2011
Updated 
24/02/2011
Type 
Bug
 
Attachments 
No attachments

If the in claus contains 100 parameters the ORA throws an: ORA-01722: invalid number. According to the docs the limit should be 1000 but maybe its the version I was working with 10.2.0.5. Strange thing is that the same query works in SQLDeveloper - but reducing the number of params below 100 fixes the problem.

In any case the default query batch size default can now be set using setQueryBatchSize

 
woResponse

Upload a file