nhibernate-core icon indicating copy to clipboard operation
nhibernate-core copied to clipboard

NH-3158 - SchemaUpdate/SchemaExport should support auto quote of dialect specific reserved words.

Open nhibernate-bot opened this issue 7 years ago • 0 comments

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.

nhibernate-bot avatar Oct 12 '17 14:10 nhibernate-bot