[fluent-nhib] Re: table-per-class hierarchy

2010-05-01 Thread Felipe Leusin
I've struggled a lot lately with discriminators and Daniel's advice is the best. Do not use the discriminator mapped as a property. You can even break DRY but i'll save you a whole lot of problem with the mapping. On May 1, 11:02 am, Daniel Mirapalheta mirapalh...@gmail.com wrote:   To be

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-09-09 Thread Roger
It is already too late for 1.0 RTM. Anyway, the version number is 0.1.0.539. On Aug 26, 5:30 am, James Gregory jagregory@gmail.com wrote: I need more info otherwise I won't be able to fix this for 1.0 RTM. On Tue, Aug 25, 2009 at 12:30 AM, James Gregory jagregory@gmail.comwrote:

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-09-09 Thread Roger
No, I used a mapping file instead to work around the error for now. On Aug 24, 1:36 am, Joseph Bareto josephbareto...@googlemail.com wrote: So finally cud u achive inheritance with this technique in sharp ? On Aug 14, 2:46 pm, Roger rcjproj...@yahoo.com wrote: After updating my copy of

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-08-26 Thread James Gregory
I need more info otherwise I won't be able to fix this for 1.0 RTM. On Tue, Aug 25, 2009 at 12:30 AM, James Gregory jagregory@gmail.comwrote: Can you verify what the version number is of FNH you're using? The many-to-one looks wrong because in 1.0 we don't even generate a column

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-08-24 Thread James Gregory
Can you verify what the version number is of FNH you're using? The many-to-one looks wrong because in 1.0 we don't even generate a column attribute, we always create a column element. On Fri, Aug 14, 2009 at 2:46 PM, Roger rcjproj...@yahoo.com wrote: After updating my copy of FNH and other

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-08-23 Thread Joseph Bareto
So finally cud u achive inheritance with this technique in sharp ? On Aug 14, 2:46 pm, Roger rcjproj...@yahoo.com wrote: After updating my copy of FNH and other dlls, I am still getting the same error. i.e.          --- NHibernate.MappingException: Could not compile the mapping document:

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-08-14 Thread Roger
After updating my copy of FNH and other dlls, I am still getting the same error. i.e. --- NHibernate.MappingException: Could not compile the mapping document: (XmlDocument) --- System.IndexOutOfRangeException: Index was outside the bounds of the array. at

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-08-13 Thread Roger
I will give it a try. Do I need to go through these steps in order to update FNH in Sharp Architecture? http://groups.google.com/group/sharp-architecture/browse_thread/thread/f37a99ecfa681770# I have a question on mapping. Employee, a subclass of User, has a many- to-one relationship with Role.

[fluent-nhib] Re: Table per class hierarchy

2009-03-03 Thread James Gregory
The wiki should really contain something about this, but it doesn't yet. I wrote a blog post about it a while ago though, so you should be able to get started from there: http://blog.jagregory.com/2009/01/05/fluent-nhibernate-subclass-syntax-changes/ On Tue, Mar 3, 2009 at 10:43 PM, mhnyborg

[fluent-nhib] Re: Table per class hierarchy

2009-03-03 Thread mhnyborg
Thanks that was fast, and it works. The examples would be a lot clearer if you show how to specify the discriminator values. On Mar 3, 11:59 pm, James Gregory jagregory@gmail.com wrote: The wiki should really contain something about this, but it doesn't yet. I wrote a blog post about it a