Closed
Description
NHibernate.Mapping.Column.GetAlias
may generate aliases with a length up to Dialect.MaxAliasLength
. But the query generation logic may append an additional suffix for distinguishing joins, causing the alias to grow bigger than maximum alias length. (This is done with NHibernate.SqlCommand.SelectFragment
.)
Column.GetAlias
should not exhaust the available length and keep at least three characters left for this additional suffix. (Allowing 99 joins + the _
of the suffix.)