Yes Richard,
Thats why I am here.
I'm asking:
Since this is a documented limitation of SQLite and NHibernate is
supposed to hide the database implementation from us (as much as
possible), shouldn't a workaround be implemented inside NHibernate's
SQLite dialect?
Josh
On Aug 22, 3:37 pm, Richard Wilde <
rich...@wildesoft.net> wrote:
> Have you read this fromhttp://
www.sqlite.org/limits.html
>
> *Maximum Number Of Tables In A Join*
> SQLite does not support joins containing more than 64 tables. This limit
> arises from the fact that the SQLite code generator uses bitmaps with one
> bit per join-table in the query optimizer.
> SQLite uses a very efficient O(N²) greedy algorithm for determining the
> order of tables in a join and so a large join can be prepared quickly.
> Hence, there is no mechanism to raise or lower the limit on the number of
> tables in a join.
>
> Also as a side note I cannot imagine a query that I would need that joins
> such a large number of tables!
>
> HTH
> Rippo
>