Of course; created NH-2351. On Sun, Sep 26, 2010 at 1:37 PM, Fabio Maulo <[email protected]> wrote:
> JIRA ticket with, at least, mappings, classes and query to recreate the > issue. > > On Sun, Sep 26, 2010 at 3:43 AM, pvginkel <[email protected]> wrote: > >> I have the following mapping with auto-quote set in the configuration: >> >> <list name="Steps"> >> <key column="WorkflowId" /> >> <index column="Index" /> >> <one-to-many class="WorkflowStep" /> >> </list> >> >> When I access this list, the field Index is not quoted and it fails on >> the following SQL: >> >> SELECT steps0_.WorkflowId as WorkflowId1_, steps0_.Id as Id1_, >> steps0_.Index as Index1_, steps0_.Id as Id700_0_, steps0_.[Index] as >> Index2_700_0_, steps0_.StepGuid as StepGuid700_0_, >> steps0_.StepViewType as StepView4_700_0_, steps0_.WorkflowId as >> WorkflowId700_0_ FROM ... >> >> Above, the Index field appears twice, unquoted for Index1_ and quoted >> for _Index2_700_0_. > > > > > -- > Fabio Maulo > >
