Closed
Description
The current generated SQL type for the CultureInfo
object is string(5):
But some culture names are much longer. The longest culture names are 11 characters:
en-US-POSIX
mni-Beng-IN
sat-Olck-IN
shi-Latn-MA
shi-Tfng-MA
tzm-Arab-MA
tzm-Tfng-MA
vai-Latn-LR
vai-Vaii-LR
They are very specific, but in our usecase we use cultures with length of 10 characters. So this is a real problem for us.
Now we get the following exception:
NHibernate.Exceptions.GenericADOException: 'could not execute batch command.[SQL: SQL not available]'
SqlException: String or binary data would be truncated in table ...