NH-3408 - Fix mapping for non MS SQL Server dialects