[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread Stuart Childs
Oops, I made the previous list by scanning the documentation instead of the mapping schema .xsd... Might want to add the following to the list: meta jcs-cache idbag primitive-array union-subclass filter sql-* Though it's probably unnecessary since I think most (all?) don't really apply for FNH's

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread MaggiePlusPlus
Thank you very much! let me know if I can help with anything. On May 1, 12:07 pm, James Gregory wrote: > That'll be my fault, as part of our redesign I've had to rewrite the > ordering code and it looks like I didn't incorporate the changes that were > done to fix this issue. > I've created a n

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread James Gregory
Great, thanks Stuart, I'll make sure those get added. As for the whitespace, it's a simple oversight. Until I can come to commit, if you open the PersistenceModel code and goto line 195, just before that line add writer.Formatting = Formatting.Indented;, that'll make it indent the xml nicely. On F

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread Stuart Childs
I believe the full list of missing tags is: timestamp one-to-one component dynamic-component any Also is but if I understand correctly that's at the level == class and this function is just for children? I haven't stepped through all the XML generation code so I'm not 100% sure about what gets

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread Stuart Childs
Correct; the generated HBM files have no whitespace... easy enough to fix with a ctl+k, ctl+d in VS. ;) On May 1, 11:41 am, James Gregory wrote: > Ah yes, silly mistake. I've added this in my local copy, but am in the > middle of some changes so haven't yet committed it. I've also noticed that >

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread James Gregory
Ah yes, silly mistake. I've added this in my local copy, but am in the middle of some changes so haven't yet committed it. I've also noticed that dynamic-component and one-to-one are both missing too, so there may be more too. This should really be reviewed. As for the other thing, is it that there

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread Stuart Childs
In my case, it looks like it was because the sorting dictionary in SortChildren() in XmlHibernateMappingWriter.cs was missing a "component" pair. Adding { "component", new SortValue { Position = PartPosition.Anywhere, Level = 2 } }, seems to have fixed my issue with that class, but it's hard to sa

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread James Gregory
Stuart: It might be too late now, but we'd greatly appreciate seeing the mappings causing the problems for you. They'd help us debug the ordering code. On Fri, May 1, 2009 at 5:05 PM, Stuart Childs wrote: > > While I'm not using AutoMappings, I was having a similar issue but was > more severe (w

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread Stuart Childs
While I'm not using AutoMappings, I was having a similar issue but was more severe (with only one of my classes, too... one of many oddities) where properties/components were being put before the tag, causing NHibernate to fail. It's very bizarre, but grouping all the Map(), Component(), and Ref

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread James Gregory
That'll be my fault, as part of our redesign I've had to rewrite the ordering code and it looks like I didn't incorporate the changes that were done to fix this issue. I've created a new issue for this and either myself or one of the

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-05-01 Thread MaggiePlusPlus
I updated to version 464 of FNH and the columns are again out of order and the hbm.xml files have no formatting - all on one line. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-04-19 Thread MaggiePlusPlus
Thanks for looking at it. Jon also mentioned to have me check the version and while I did have 447 source, one of the projects did not have the corresponding .dll. I corrected the dll reference and now the columns are indeed in the correct order. Thanks again, Maggie --~--~-~--~~--

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-04-18 Thread Hudson Akridge
I could not recreate your issue Maggie, using your exact class/auto config, could you please verify that you are at least at revision 444? On Sat, Apr 18, 2009 at 9:29 AM, Hudson Akridge wrote: > I believe this is the scenario that maggie has that wasn't fixed with 444. > I'll be able to check in

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-04-18 Thread Hudson Akridge
I believe this is the scenario that maggie has that wasn't fixed with 444. I'll be able to check into it later today :) Just as a general note Maggie, the fix in 444 was for writing out properties in the order they were added to a class mapper. It's possible that this isn't what's wrong, but it's t

[fluent-nhib] Re: building database w/AutoMapping column ordering question

2009-04-18 Thread Paul Batum
Is this somehow different to the problem that you've been discussing in the other thread, that was supposed to be fixed in revision 444? On Fri, Apr 17, 2009 at 2:39 AM, MaggiePlusPlus wrote: > > > Here is the code I am using to create my database and to export the > xml mapping files: > >  retu