With "Of course" I meant that I should have thought of that myself.
I have not included the entire mapping because this is 9674 lines, the classes are worse and I though the provided snippets were enough. Apparently they were so I'm off to nhusers for more information. Thank you for your help so far. On Sun, Sep 26, 2010 at 4:14 PM, Fabio Maulo <[email protected]> wrote: > btw, even with those few informations I can close the ticket as: Not an > issue, wrong mapping. > http://groups.google.com.ar/group/nhusers > Please use the nhusers group to ask help. > Thanks. > > > On Sun, Sep 26, 2010 at 11:08 AM, Fabio Maulo <[email protected]>wrote: > >> What mean "of course" in your country ? >> >> Where is the attachment with mappings and classes ? >> I can see only a mapping with a chunk of another mapping. >> >> >> On Sun, Sep 26, 2010 at 10:29 AM, Pieter van Ginkel >> <[email protected]>wrote: >> >>> 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 >>>> >>>> >>> >> >> >> -- >> Fabio Maulo >> >> > > > -- > Fabio Maulo > >
