I’d like to run a JPA query (eclipselink) like:
select t from SomeEntity t where t.branch.id in :branchList
and pass a collection as branchList.
The question is what is the collection size limit?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JPA does not set strict limit. Upper limit depends about how many arguments IN clause in database can handle. For example with Oracle limit is 1000.