openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MiƂosz <mtyle...@o2.pl>
Subject Re: Re: Fetch plan question
Date Mon, 14 Dec 2009 21:47:13 GMT

> I noticed that the queries generated are of the form "where (o.id = 1 or
> o.id = 2 or o.id = 3)" rather than "where o.id in (1, 2, 3)". Any reason for
> this?

Maybe because some databases have (or had) limit on maximum length of the IN (...) list?

Cheers,
Milosz


Mime
View raw message