[fluent-nhib] Re: Looking for a way to contribute

2009-02-03 Thread Paul Batum
Hi Erik, I just wanted to say: Welcome! Paul Batum On Wed, Feb 4, 2009 at 8:04 AM, Tuna Toksoz wrote: > This also replies my question :) > > > Tuna Toksöz > http://tunatoksoz.com > http://twitter.com/tehlike > > Typos included to enhance the readers attention! > > > > On Tue, Feb 3, 2009 at 11

[fluent-nhib] Re: composite id automapping

2009-02-03 Thread Chris Marisic
Also you can take a look at the conventions I created with the new Property/Type conventions. http://groups.google.com/group/fluent-nhibernate/browse_thread/thread/175754bca2c9305e/9ab7b287b2e12a3a?hl=en&lnk=gst&q=property+convention#9ab7b287b2e12a3a My 2 posts at the bottom of this discussion m

[fluent-nhib] Re: composite id automapping

2009-02-03 Thread James Gregory
It depends really. Fluent NHibernate doesn't touch your database, so it won't be able to automatically change properties based on column names unless you've already mapped them. The best you could do is map your properties as you've done, then create a ITypeConvention to act on any properties that

[fluent-nhib] composite id automapping

2009-02-03 Thread c24chan
Hi, I am quite new to fluent NH, so please bare with me if this is a newbie question. I am dealing with a legacy db which consist of table with composite primary key. For example, I have 2 domain object DOMAIN and DOMAIN_TL and here is the mapping class I have. public class DomainMap : ClassMa

[fluent-nhib] Re: Integrating with Rhino.Commons

2009-02-03 Thread James Gregory
Nice work. That's good to remember. On Tue, Feb 3, 2009 at 7:12 AM, Rob Kitson wrote: > Hey all, > > After messing around with it for a bit I finally got FNH and > Rhino.Commons to play nice. > Check this out, if interested ( > http://robkitson.net/archive/2009/02/02/using-fluentnhibernate-and-r

[fluent-nhib] Re: Looking for a way to contribute

2009-02-03 Thread Tuna Toksoz
This also replies my question :) Tuna Toksöz http://tunatoksoz.com http://twitter.com/tehlike Typos included to enhance the readers attention! On Tue, Feb 3, 2009 at 11:02 PM, James Gregory wrote: > Hey Erik, > There's a simple answer: If you want to contribute, just do it. In the OSS > worl

[fluent-nhib] Re: Looking for a way to contribute

2009-02-03 Thread James Gregory
Hey Erik, There's a simple answer: If you want to contribute, just do it. In the OSS world, you typically start by contributing patches to a codebase (which can either be for issues you discover yourself, or for fixes to existing issues), or by contributing other things to the project (such as docu

[fluent-nhib] Re: Looking for a way to contribute

2009-02-03 Thread Tuna Toksoz
Is there an issue tracker that I am not aware? Maybe Erik can start there. Tuna Toksöz http://tunatoksoz.com http://twitter.com/tehlike Typos included to enhance the readers attention! On Tue, Feb 3, 2009 at 10:18 PM, Erik van Brakel wrote: > > Hello all, > > I've been using Hibernate and N

[fluent-nhib] Looking for a way to contribute

2009-02-03 Thread Erik van Brakel
Hello all, I've been using Hibernate and NHibernate for a while now, and I'd like to offer my services to one of the (sub)projects for NHibernate. I've recently started with TDD and am trying to make clean, testable applications. That's why immediately Fluent NH caught my attention when Tuna Toks

[fluent-nhib] Re: Possible bug in the method FindMapping of the AutoPersistenceModel class

2009-02-03 Thread Jimit
The method MergeWithAutoMapsFromAssembly() seemed to suggest the style I used - that is, subclassing AutoMap in an assembly. It did discover my automaps fine, but then failed with the error described. My domain has some very deep hierarchies and the fluent configuration (using ForTypesThatDeriveF

[fluent-nhib] Add support to specify JoinPart on SubClassPart

2009-02-03 Thread Beppler
Hi, I posted an patch that allows the specification of the join clause inside the subclass mapping. This allows use of the "8.1.3 Table per subclass, using a discriminator" mapping (http://nhforge.org/doc/nh/en/index.html#inheritance-tablepersubclass- discriminator). It is attached to issue 99 (

[fluent-nhib] Re: Possible bug in the method FindMapping of the AutoPersistenceModel class

2009-02-03 Thread James Gregory
Hi, You seem to be correct in your analysis. The reason this is happening is because it was never intended that people would subclass AutoMap; alterations to classes are supposed to be done in the ForTypesThatDeriveFrom call on the automapper, rather than in a subclass. I realise this is probably

[fluent-nhib] Possible bug in the method FindMapping of the AutoPersistenceModel class

2009-02-03 Thread Jimit
Hi, Sorry if this comes as a duplicate post. I think google might have eaten my first so here it is again. First off, mad props to all of you involved in the FNH - it rocks! That said, I've come across what seems to be a bug in the method FindMapping of the AutoPersistenceModel class. Here's a sam

[fluent-nhib] Re: Fluent configuration API

2009-02-03 Thread Chris Marisic
All good now On Feb 3, 4:39 am, James Gregory wrote: > Thanks guys. > Chris: That bug should be fixed now. > > On Tue, Feb 3, 2009 at 9:17 AM, Christiaan Van den Poel < > > christiaan.vandenp...@gmail.com> wrote: > > LOL > > > On Tue, Feb 3, 2009 at 10:11 AM, Andrew Stewart < > > andrew.stew...@

[fluent-nhib] Re: Heads up - breaking database config change

2009-02-03 Thread Dru Sellers
+1 On Mon, Feb 2, 2009 at 6:42 PM, James Gregory wrote: > Guys, > Just a heads up, I've made some changes to the database configuration API. > Reason being that it wasn't entirely gelling with the Fluent.Configure > API

[fluent-nhib] Re: First attempt at parent/child not working

2009-02-03 Thread James Gregory
Have you tried it without the IsInverse but with Cascade? I believe Inverse tells NHibernate to let the other side of the relationship handle the saving, but as there isn't another side to it (no many-to-one on ZipSetDetail) it wouldn't work. On Tue, Feb 3, 2009 at 2:47 PM, Lars Zeb wrote: > Th

[fluent-nhib] Re: First attempt at parent/child not working

2009-02-03 Thread Lars Zeb
Thanks for the reply, Gabriel. I made the change to the collection, adding Cascade.All() to the map. This did change the generated SQL some, but the test still did not pass. The detail table's FK is not being set. WithTable("ZipcodeSet"); Id(c => c.ID)

[fluent-nhib] Re: Fluent configuration API

2009-02-03 Thread James Gregory
Thanks guys. Chris: That bug should be fixed now. On Tue, Feb 3, 2009 at 9:17 AM, Christiaan Van den Poel < christiaan.vandenp...@gmail.com> wrote: > LOL > > On Tue, Feb 3, 2009 at 10:11 AM, Andrew Stewart < > andrew.stew...@i-nnovate.net> wrote: > >> Nice one James, >> So the next abstraction sh

[fluent-nhib] Re: Fluent configuration API

2009-02-03 Thread Christiaan Van den Poel
LOL On Tue, Feb 3, 2009 at 10:11 AM, Andrew Stewart < andrew.stew...@i-nnovate.net> wrote: > Nice one James, > So the next abstraction should be > > Fluently.WriteMyApp().Go(); > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[fluent-nhib] Re: Fluent configuration API

2009-02-03 Thread Andrew Stewart
Nice one James, So the next abstraction should be Fluently.WriteMyApp().Go(); ;o) On Tue, Feb 3, 2009 at 8:49 AM, James Gregory wrote: > Good catch Chris, I'll have a look at this asap. > > > On Tue, Feb 3, 2009 at 4:55 AM, Chris Marisic wrote: > >> >> How dare you turn my entire NHibernate Se

[fluent-nhib] Re: Fluent configuration API

2009-02-03 Thread James Gregory
Good catch Chris, I'll have a look at this asap. On Tue, Feb 3, 2009 at 4:55 AM, Chris Marisic wrote: > > How dare you turn my entire NHibernate SessionFactory creation into a > singlea private static readonly field in my manager class! > > As always great work James, FNH never ceases to amaze m