Alex Bunn
2017-07-12 04:49:57 UTC
Hi all,
We've recently started seeing the following exception
(NHibernate.MappingException: Unique suffix 10_ length must be less than
maximum 3 characters.) being raised on our website about half a dozen times
in quick succession before our website goes down, which is frustrating our
customers/clients.
We've had a look over the NHibernate source code on Github, and found that
the max alias length allowed by all of the various dialects is 10, which
means according to the error, the first part of the generated alias is 7
characters in length with the remaining 3 being produced (10_) exceeding
the remaining character limit. The limit of 10 being reached in our
production environment makes no sense, as we're seeing aliases being
generated in our local development machines with a length of 10,11 or 12,
all of which should be generating an error.
We're currently using the most recent version of NHibernate available from
NuGet (4.1.1.4000 if my IDE isn't lying to me) and currently developing in
C#.
We're looking for some additional help/insight on this error so we can
figure out what might be causing it, and what we can do to resolve it to
make our userbase, and by extension our support/admin team happy.
Thanks.
We've recently started seeing the following exception
(NHibernate.MappingException: Unique suffix 10_ length must be less than
maximum 3 characters.) being raised on our website about half a dozen times
in quick succession before our website goes down, which is frustrating our
customers/clients.
We've had a look over the NHibernate source code on Github, and found that
the max alias length allowed by all of the various dialects is 10, which
means according to the error, the first part of the generated alias is 7
characters in length with the remaining 3 being produced (10_) exceeding
the remaining character limit. The limit of 10 being reached in our
production environment makes no sense, as we're seeing aliases being
generated in our local development machines with a length of 10,11 or 12,
all of which should be generating an error.
We're currently using the most recent version of NHibernate available from
NuGet (4.1.1.4000 if my IDE isn't lying to me) and currently developing in
C#.
We're looking for some additional help/insight on this error so we can
figure out what might be causing it, and what we can do to resolve it to
make our userbase, and by extension our support/admin team happy.
Thanks.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.