nhibernate-core
nhibernate-core copied to clipboard
NH-3158 - SchemaUpdate/SchemaExport should support auto quote of dialect specific reserved words.
Alexander Zaytsev created an issue — :
Various dialects have own dialect-specific reserved words. I think that NH should implicitly quote such words in column and table names.
Ricardo Peres added a comment — :
Isn't this what happens when we use Hbm2DDLKeyWords.AutoQuote as in:
Configuration cfg = this.CreateConfiguration() .DataBaseIntegration( db => { db.KeywordsAutoImport = Hbm2DDLKeyWords.AutoQuote; })
?
Alexander Zaytsev added a comment — :
Probably.
Alexander Zaytsev added a comment — :
Will be fixed by NH-4043
Alexander Zaytsev added a comment — :
<~rjperes> no. It does not take into account the dialect specific keywords as for now. Only the one extracted from DB metadata.