btw... I would understand the usecase because "auto-quote" everything by default is not so good (at least for me). For columns-names we have the auto-quote feature and we are quoting only names matching reserved words from the DataProvider. I would understand usecase.... from where come those aliases... well.. after say "I'm aware that that's most likely not an optimal solution - especially considering it's a workaround for a bug on a quite "niche" platform" perhaps we have to have some explication before apply a workaround for all RDBMS supported by NH.
The JIRA ticket is a good place where discuss this issue. On Mon, Feb 7, 2011 at 12:43 PM, Richard Brown (gmail) < [email protected]> wrote: > Hi David, > > Can you create a JIRA and attach the patch there? > > Cheers, > Richard > > -----Original Message----- From: David Schmitt > Sent: Monday, February 07, 2011 3:38 PM > To: [email protected] > Subject: [nhibernate-development] Patch to always quote aliases in select > statements > > > Hi, > > please find attached a patch to always quote aliases in select > statements. I need this to get non-ascii column names (which are re-used > in aliases) to work, when running against postgresql-8.4.5 running on > windows7. > > I'm aware that that's most likely not an optimal solution - especially > considering it's a workaround for a bug on a quite "niche" platform ;-). > > > Best Regards, David > -- > dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at > Klosterneuburg UID: ATU64260999 > > FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg > -- Fabio Maulo
