The patch should be simple as this.
Let me know if I should email the patchfile to somewhere instead.
I did this on the trunk, but I wasn't sure if the 2.0 version gets
maintained somewhere. I believe the patch will work on either version
anyway.
Dries.
--
Index: NHibernate/Mapping/Table.cs
===================================================================
--- NHibernate/Mapping/Table.cs (revision 4189)
+++ NHibernate/Mapping/Table.cs (working copy)
@@ -513,7 +513,7 @@
public string GetQuotedSchema(Dialect.Dialect dialect)
{
- return IsSchemaQuoted ? dialect.OpenQuote + schema +
dialect.CloseQuote : schema;
+ return IsSchemaQuoted ? dialect.QuoteForSchemaName
(schema) : schema;
}
/// <summary>