Re: [fluent-nhib] Download FluentNHibernate binaries

2012-08-17 Thread James Gregory
Correct.

The official place for binaries is NuGet, if you want them from a specific 
build then try TeamCity.

On Friday, August 10, 2012 12:14:34 AM UTC+10, Berke Sokhan wrote:
>
> Better, you should try NuGet.
>
> 2012/8/9 Oskar Berggren >
>
>> Continuous integration is available here:
>>
>> http://teamcity.codebetter.com/project.html?projectId=project8&tab=projectOverview&guest=1
>>
>> /Oskar
>>
>>
>>
>> 2012/8/8 Thomas Kehl >
>>
>>> Hi.
>>>
>>> I am searching the place where I can download the FluentNHibernate 
>>> Binaries. Where url http://www.fluentnhibernate.org/downloads which is 
>>> provided in the GetStarted doesn't work.
>>>
>>> Best Regards, Thomas
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Fluent NHibernate" group.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msg/fluent-nhibernate/-/LtrrMtBWVb8J.
>>> To post to this group, send email to 
>>> fluent-n...@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to 
>>> fluent-nhibern...@googlegroups.com .
>>> For more options, visit this group at 
>>> http://groups.google.com/group/fluent-nhibernate?hl=en.
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Fluent NHibernate" group.
>> To post to this group, send email to 
>> fluent-n...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> fluent-nhibern...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/fluent-nhibernate?hl=en.
>>
>
>
>
> -- 
> Berke SOKHAN.
>
> http://twitter.com/berkesokhan
> http://blog.berkesokhan.com
> http://www.birliktegelistir.com/editors.aspx
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/SfxF_x1KCjEJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Fluent NHibernate compatible with NHibernate 3.3GA?

2012-04-26 Thread James Gregory
I've just pushed the NH 3.3 binaries up to github, and a new nupack 
package. Shout if there's any problems.

On Friday, April 27, 2012 10:35:00 AM UTC+10, James Gregory wrote:
>
> I'm on it. Created an issue if anyone wants to star it (but hopefully 
> won't take that long): 
> https://github.com/jagregory/fluent-nhibernate/issues/132
>
> On Wednesday, April 25, 2012 12:15:19 AM UTC+10, tbushell wrote:
>>
>> See this Stack Overflow question - 
>> http://stackoverflow.com/q/10289272/102554.
>>
>> The consensus seems to be that you should compile FNH from source against 
>> NH 3.3.  
>>
>> -Tom Bushell
>>
>> On Monday, April 23, 2012 7:56:50 AM UTC-4, fabriciom wrote:
>>>
>>> Just found out yesterday that NHibernate has updated to 3.3 does the 
>>> current version of Fluent work with it? Do I have to wait for an updated 
>>> Fluent?
>>>
>>> -Thanks
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/J0sK4Aj2SBgJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Fluent NHibernate compatible with NHibernate 3.3GA?

2012-04-26 Thread James Gregory
I'm on it. Created an issue if anyone wants to star it (but hopefully won't 
take that long): https://github.com/jagregory/fluent-nhibernate/issues/132

On Wednesday, April 25, 2012 12:15:19 AM UTC+10, tbushell wrote:
>
> See this Stack Overflow question - 
> http://stackoverflow.com/q/10289272/102554.
>
> The consensus seems to be that you should compile FNH from source against 
> NH 3.3.  
>
> -Tom Bushell
>
> On Monday, April 23, 2012 7:56:50 AM UTC-4, fabriciom wrote:
>>
>> Just found out yesterday that NHibernate has updated to 3.3 does the 
>> current version of Fluent work with it? Do I have to wait for an updated 
>> Fluent?
>>
>> -Thanks
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/gZEyrNBtCPMJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Good work, keep it up.

2012-04-26 Thread James Gregory
+1 to what David and Jeff said.

My main focus for FNH is to clean the codebase up (there's been a lot of 
stuff crept in that shouldn't have), and make the API more consistent all 
round. Hopefully those two goals will make it easier for other people to 
help out if they want to. Any help is always appreciated.

On Wednesday, February 22, 2012 2:27:44 AM UTC+11, Jeff Doolittle wrote:
>
> I'm on board to help contribute/maintain and I'm curious to know who else 
> is out there.  If there's enough community interest, I'm sure we could 
> start putting something together to keep this project fresh and moving 
> forward.
>
> --Jeff
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/M4CIt-gM9qUJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Decent .AsTernaryAssociation() documentation

2012-04-26 Thread James Gregory
I'm afraid the code is terrible, and this functionality is completely 
unknown to me. It's something that needs to be killed/rebuilt, but I 
haven't had any volunteers (and don't use the functionality myself).

On Friday, April 20, 2012 6:38:51 AM UTC+10, Francois Botha wrote:
>
>
> > Best documentation is the code.
> >
>
> Already tried that and failed. But you're welcome to prove me wrong. 
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/HKsOpv7JOHYJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Dead links on fluentnhibernate.org/

2012-04-26 Thread James Gregory
Sounds like you've got some browser/proxy caches you need to refresh. Those 
links should be 404ing, but the main page doesn't refer to them any more.

The main website should look like this (with the fluentnhibernate.org 
domain): http://jagregory.github.com/fluent-nhibernate/

If you're not seeing that, you've got an overzealous cache somewhere.

On Thursday, April 26, 2012 10:34:24 PM UTC+10, Peter McEvoy wrote:
>
> For the last few days, the support, wiki and blog links on the 
> fluentnhibernate.org website have been 404'd. 
>
> Can someone fix?
>
> Pete
>
> -- 
> 
> http://www.fsf.org/facebook
> http://bit.ly/hzA1MS
> http://bit.ly/fztcGn
> http://cli.gs/V1UtWw
> http://cli.gs/S3zVIt
> http://goo.gl/ZBptR
> http://goo.gl/tXFO7 
>
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/P-9C3mxTR_0J.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Spam on the Wiki

2012-04-02 Thread James Gregory
I've just ported the wiki over to github, so this should make it a) less 
spammy, and b) easier for people to change (it's just a git repo!).

Thanks for highlighting this issue. The website will be updated with a new 
link when it next updates itself; until then, the wiki is 
at: https://github.com/jagregory/fluent-nhibernate/wiki

On Tuesday, April 3, 2012 9:26:19 AM UTC+10, James Gregory wrote:
>
> Thanks. The wiki is powered by MediaWiki; if you create an account on 
> there, you should be able to delete pages (I think). Let me know if you 
> can't.
>
> I've deleted the page you linked to, thanks!
>
> On Wednesday, March 28, 2012 9:34:01 PM UTC+11, JamesF wrote:
>>
>> Hey everyone, I came across spam on the Wiki today:
>> http://wiki.fluentnhibernate.org/User_talk:Condtes1301 
>>
>> Anyone  know what CMS it's using the best way we can delete it / ban 
>> users etc?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/F1O7Ki0PxjoJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Wiki spam

2012-04-02 Thread James Gregory
I've just ported the wiki over to github, so this should make it a) less 
spammy, and b) easier for people to change (it's just a git repo!).

Thanks for highlighting this issue. The website will be updated with a new 
link when it next updates itself; until then, the wiki is 
at: https://github.com/jagregory/fluent-nhibernate/wiki

On Tuesday, April 3, 2012 9:27:50 AM UTC+10, James Gregory wrote:
>
> Thanks David, I haven't been keeping as close an eye on the wiki as I 
> should've been. I'll sort this out, let me know if you see any other pages.
>
> On Sunday, March 4, 2012 9:45:03 AM UTC+11, David Gardiner wrote:
>>
>> I noticed while doing a search on the FNH wiki site that there appears to 
>> be quite a few spam pages that have been added.
>>
>> eg. I found this page - 
>> http://wiki.fluentnhibernate.org/200mw_532nm_Mid-open_Inexperienced_Laser_Pointer_Pen_The_Newest_Hot_Stuff_For_All
>>
>> Maybe the default user rights need to be locked down a bit?
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/kcFa0byAYvIJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Wiki spam

2012-04-02 Thread James Gregory
Thanks David, I haven't been keeping as close an eye on the wiki as I 
should've been. I'll sort this out, let me know if you see any other pages.

On Sunday, March 4, 2012 9:45:03 AM UTC+11, David Gardiner wrote:
>
> I noticed while doing a search on the FNH wiki site that there appears to 
> be quite a few spam pages that have been added.
>
> eg. I found this page - 
> http://wiki.fluentnhibernate.org/200mw_532nm_Mid-open_Inexperienced_Laser_Pointer_Pen_The_Newest_Hot_Stuff_For_All
>
> Maybe the default user rights need to be locked down a bit?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/Cf5F35QIoj0J.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Spam on the Wiki

2012-04-02 Thread James Gregory
Thanks. The wiki is powered by MediaWiki; if you create an account on 
there, you should be able to delete pages (I think). Let me know if you 
can't.

I've deleted the page you linked to, thanks!

On Wednesday, March 28, 2012 9:34:01 PM UTC+11, JamesF wrote:
>
> Hey everyone, I came across spam on the Wiki today:
> http://wiki.fluentnhibernate.org/User_talk:Condtes1301 
>
> Anyone  know what CMS it's using the best way we can delete it / ban users 
> etc?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/8cskvKX-HGYJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Formerly missing James Gregory found safe and sound in Australia!

2012-02-02 Thread James Gregory
G'day mate :)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/iqklAhIhHa0J.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] So what's going on here?

2012-01-27 Thread James Gregory
Hey everyone,

I've noticed people are starting to get a bit restless around here. I 
suppose you all deserve a bit of an explanation.

Fluent NHibernate is not dead; however, it is severely neglected. The 
reasons I'll go into in a moment, but I don't intend on letting the project 
die; it may just have to remain in its neglected state for a while longer. 
The pull requests are occasionally being dealt with, but it's only me here 
now and I just simply don't have the time to deal with it.

Help would be appreciated, but I don't expect it. If anyone wants to, get 
in touch (james @ jagregory.com); I'm more interested in project management 
help than code right now, as we're still fairly active on that front 
(contributors, that is).

There isn't really a roadmap at this point in time, due to lack of 
activity; but I've always planned on getting a 1.3/4 release out then 
pushing on to a cleaner-tighter 2.0 release; when that'll happen is 
anyone's guess right now.

Personal stuff: feel free to skip if you've heard enough. So the reason for 
all this slacking is that I've quit my job in London, relocated to 
Australia, and joined ThoughtWorks in Sydney (and now temporarily in 
Melbourne). It's a big move, quite literally halfway around the world. I'm 
having to reestablish myself over here and that's a very time consuming 
experience; new country, new job, new city, new friends, etc... My 
priorities have shifted entirely away from non-essential projects and once 
the day is over, the last thing I want to do is boot up the VM and crank 
out some code. I hate to dissapoint people, and I hate to neglect FNH, but 
my priorities have (temporarily) changed.

Hope that at least clarifies what some people are thinking. Feel free to 
ask any questions and I'll do my best to actually answer.

Cheers,
James

P.S. Mailing list messages - sorry about that. Google Groups apparently 
decided to stop notifying me of new messages. All outstanding ones have 
been approved.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/hWw_KQdVsWMJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Any idea when new version (> 1.3.0.717) of NuGet package for FNH will be released

2012-01-27 Thread James Gregory
Sorry everyone for my absence. I've been largely neglecting FNH lately 
primarily because I'm in the middle of a big life change; aka, I've moved 
to the other side of the world, changed jobs, and everything else that 
comes with that.

I'll try to put together some kind of official statement, but it boils down 
to this:

Is FNH dead? No.
Is FNH neglected? Yes.
Will it remain so? Perhaps.

I don't have the time or desire right now to run the project at the pace I 
have been doing for the past few years, but I also have no desire to let 
the hard work of myself and others fall apart. Everything is still crazy 
right now, but once I get settled again I do intend to pick things up.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/lUIOcEdvCq4J.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Holiday

2011-10-07 Thread James Gregory
I'm going to be on holiday for the next two weeks. Although I haven't been 
very helpful here recently, at least you'll know that for the next couple of 
weeks I'm not just ignoring you.

General usage questions are best posted to 
StackOverflow with 
the tag "fluent-nhibernate". Bugs and such should still be posted here, but 
I obviously won't be around to answer anything for a while.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/-w1Ub58VYoYJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Mapping to a backing field with Fluent NHibernate v1.3.0.717

2011-10-07 Thread James Gregory
I think you're right. This sounds like a breaking change in NHibernate :(

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/HlBf0FNjauoJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Mapping to a backing field with Fluent NHibernate v1.3.0.717

2011-10-04 Thread James Gregory
Try removing your Access call all together. There was a change made around 
the 1.2 release where FNH would try to auto-detect the access strategy 
depending on your class design. I'm guessing something isn't quite working 
right there and it's prepending an extra underscore.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/lc1DblLSVJwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Automapping and subclassing

2011-09-27 Thread James Gregory
Is it just foreign key naming you're doing, or more? Have you seen the 
ForeignKeyConvention base class? You might be able to use that instead; but 
either way, that class implements IJoinedSubclassConvention so it might give 
you some ideas.

Documentation on this area is sparse; frankly, because it's crap.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/9H4Fa-MP1lwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] How to map a char to bool?

2011-09-15 Thread James Gregory
I'm guessing you could probably create your own subclass of CharBooleanType and 
just override the TrueString and FalseString properties to be what you need 
them to be.

However, I think this is exactly what query substitutions was designed for. 
Certainly most places I've seen have had 1 and 0 specified in the 
substitutions.

Both should work though.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/sHWjC5uxiNwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: How do you figure out NHibernate.DuplicateMappingException?

2011-09-07 Thread James Gregory
The two stack traces show that the first is running through the automapper, 
and the second just a regular persistencemodel. I can't remember this part 
off the top of my head, but it does sound like it's intentional.

It's quite difficult to give you any more help without either seeing how 
you're adding the mappings, or getting my hands on a reproduction. FNH 
*should* prevent duplicates from being added to NH, but there's obviously a 
hole in that defense; if you're seeing the same assembly in ScannedSources 
multiple times, then it sounds like you're adding it twice (or we've got a 
bug!). Again, hard to tell which without actually seeing something, I'm 
afraid.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/f6EHwxskGB4J.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: How do you figure out NHibernate.DuplicateMappingException?

2011-09-05 Thread James Gregory
Ok, that's fair enough. Nothing immediately obvious in the stack trace. Tell 
me, are you using Fluently.Configure? And are you creating multiple 
instances of it or doing everything within one?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/aLPhyYFU0gwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: How do you figure out NHibernate.DuplicateMappingException?

2011-09-05 Thread James Gregory
Could you show your configuration code? There were some issues with the 
Mappings method being called multiple times before.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/kYDRnk8MgysJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: automapping, overrides, and subclasses

2011-08-25 Thread James Gregory
Ah, I think we've got a hole in our API here. In a non-automapping scenario 
you'd use a SubclassMap, which gives you a DiscriminatorValue method you can 
call; sounds like we need that in the overrides to facilitate what I thought 
was already available.

Does the deprecated method still work?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/-1gnz9oNIvkJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Access.None() is adding a column name

2011-08-23 Thread James Gregory
Hmm, so this isn't an FNH issue?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/iYGwMhsdvyMJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: automapping, overrides, and subclasses

2011-08-23 Thread James Gregory
It's been a while since I've done any work on the Automapper, so I may have 
forgotten how it works...

Is there a reason why you can't just create an override for the subclass 
type itself (instead of overriding the superclass and calling Subclass)?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/UXQde01voCcJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Updated Nuget package

2011-08-12 Thread James Gregory
I've just pushed an updated Nuget package which supports NHibernate 3.2. 
It's not the official 1.3 release of FNH, but it should keep you going for 
now.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/JBkvKeGHNTgJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Fluent NHibernate and NHibernate 3.2 solves typemock issue

2011-08-12 Thread James Gregory
There's already a 3.2 compatible version in Github. We'll be publishing a 
new nuget package as soon as we've ironed a few kinks out.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/68dB317alhUJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Use Actual SqlConnection Instead Of A ConnectionString

2011-08-11 Thread James Gregory
You can't do that, and I wouldn't recommend it even if you could. A 
SessionFactory is something that stays alive for the entire lifetime of your 
application, you wouldn't want to keep a single connection open for that 
period. Instead, if you need to use an existing connection, you can pass it 
to the SessionFactory.OpenSession method, which is a much more sensible 
place to do it.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/rX_fStmNvLwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] How to define the tablespace in ORACLE??

2011-08-09 Thread James Gregory
I'm not certain what a "tablespace" is, but it sounds like what the rest of 
us call a schema. If it is, you should be able to use the Schema method 
instead of dot notation in the table name.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/q7ktunFV3EwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FYI: NHibernate 3.2.0GA released!

2011-08-09 Thread James Gregory
Soon. On holiday, will find time in the next few days. Until then, a 
bindingRedirect will work.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/pQ0y7JInMecJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FluentNHibernate nuget package dependencies and NHibernate 3.2

2011-08-09 Thread James Gregory
Yep, once we release a 3.2 compatible version.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/6ZVRtO4ymbQJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Component ColumnPrefix is broken in 1.2.0.712 (for NH3)

2011-07-22 Thread James Gregory
Ah, that makes sense (though is obviously a bug). Conventions shouldn't be 
descructive, but columns have always been a bit of a weird edge case. This 
kind of thing is on my list of things to sort out once and for all, but for 
the time being I can fix this one case.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/4nrGcERCVJQJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Where do you post bugs & issues?

2011-07-21 Thread James Gregory
Or here: https://github.com/jagregory/fluent-nhibernate/issues

Even better than reporting them would be fixing them, or a happy middle 
ground would be a failing test. That would make my life easier, and 
subsequently the likelihood of a fix happening rapidly would increase 
substantially.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/HG3ynKLpEyUJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Update/sitrep

2011-07-21 Thread James Gregory
I've migrated our issues list to Github, alongside the 
code. https://github.com/jagregory/fluent-nhibernate/issues

Our current milestone is the 1.3 release, which you can see 
here: 
https://github.com/jagregory/fluent-nhibernate/issues?milestone=1&state=open

If anyone wants to help out with managing these, that would be great. Even 
better would be if people could fix some of these.

You're welcome to create issues for bugs you find, or features you need, but 
please try to make sure you're not duplicating an existing issue; I'd like 
it even more if you could send a pull request with a fix for your issue, 
that would make things a lot speedier. If you can't provide a pull request 
with a fix, at least a failing test would make my life a lot easier.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/EjmBX_erB0QJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: how to set data types and sizes with the method Composited_Id?

2011-07-21 Thread James Gregory
What do you mean by "when performing the mapping"? Have you exported the 
mapping and seen that it's 255, or are you generating your schema from the 
mappings? If it's the latter, it's probably a quirk with the schema 
generation and/or database dialect you're using rather than a mapping issue.

As for the type, there's a Type method, though I'm not certain if it will 
work as you need. We probably need to support the sql-type attribute here. 
If it doesn't work, let me know and I'll create an issue for it.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/__5oxV0-RF0J.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Update/sitrep

2011-07-21 Thread James Gregory
Ok, hello everyone! I just wanted to give a sitrep, because I know there's a 
few people getting impatient with my response times. 

Basically, I don't have the time to dedicate to FNH as much as I used to. 
Combine that with exhaustion (and some laziness) and that's why things have 
been pretty quiet around here. It's definitely not deliberate, and it won't 
stay like this forever, but for the forseeable future my presense is going 
to be limited.

I'm behind in my pull request management, so I apologise to anyone who's put 
work in and I haven't merged it yet. I'll get on top of that as soon as I 
can. Once that's done ill start running through the bugs and regressions 
from 1.2, but I have no timeframe for that. Time is a rare commodity right 
now so I cant promise anything. I'll get onto it eventually, but if there's 
something you're desparate for you should try fix it yourself and send me a 
pull request, otherwise it'll get done on my schedule.

What would be ideal is if some people fancied stepping up and helping out. 
I'm not asking for your first-born child, just lending a hand fixing bugs or 
even just writing test cases to help me make the most of my time. Once I get 
on top of the pull requests, we could get quite a nice little process going. 
If someone (or somebodies) wanted to step up and become a co-maintainer(s), 
that'd be awesome, but I don't hold out much hope for that.

If anyone is interested in helping out, reply here or in private and I'll go 
over what needs doing and so forth.

I apologise for the lack of updates and minimal support, but there's not 
much I can do to change that right now.

Any questions, feel free to ask (and I'll try my best to reply!).

James

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/wxTRy2hMbKQJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Component ColumnPrefix is broken in 1.2.0.712 (for NH3)

2011-07-21 Thread James Gregory
Alexander, does that test fail? If so, I'll add it to the test suite.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/eQvntwhdWLYJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Mapping broken after upgrade to FNH 1.2

2011-07-21 Thread James Gregory
Or you could submit a pull request with a fix?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/N6ewMQ3C08cJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Where do you post bugs & issues?

2011-07-21 Thread James Gregory
Here.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/gV0sTNIHABcJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Add mappings by namespace

2011-07-01 Thread James Gregory
Not currently possible, but it's an open issue so we're aware of it.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/EKk7JcsVftwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Cannot create an instance of Examples.FirstAutomappedProject.ProductMap`1[T] because Type.ContainsGenericParameters is true

2011-06-13 Thread James Gregory
It sounds like whatever code scans for overrides isn't checking whether the 
types it receive are abstract. Sounds like a bug to me. Not sure why this 
would have changed recently though.

I've created an 
issuefor
 this, and I'll try get it fixed as soon as possible.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/vGWZRgovbuAJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Fluent NHibernate and Release builds

2011-06-03 Thread James Gregory
Consider it 
done: 
http://fluentnhibernate.lighthouseapp.com/projects/33236-fnh/tickets/215-addmappingsfromthisassembly-doesnt-work-with-inherited-persistencemodels

Thanks for doing the investigation, that would've taken me an age to figure 
out.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/UzIxOEdRN0RVWEFK.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: How do I map a table join in NHibernate / Fluent NHibernate that uses a unique key instead of the primary key?

2011-06-02 Thread James Gregory
Bad news, I'm afraid.

In theory, you should be able to put a property-ref attribute on the key in 
the join and point that to the property in your MemberCv table (I'm not 
certain we actually expose that in FNH, probably for the following 
reason...); however, it would be ignored because of a bug in NH: 
NH-1452

I've just done a test, and NH just flat-out ignores the property-ref when 
used in a join.

An alternative, as you said, would be to use a component or many-to-one; you 
could use a private field and have the properties just delegate. Not nice, 
but I don't see any other option until that bug gets fixed.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/dVowWXhPQ1RKdUlK.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: How do I map a table join in NHibernate / Fluent NHibernate that uses a unique key instead of the primary key?

2011-06-02 Thread James Gregory
I'll do some digging.

In the meantime, do you need to insert into this table? (please say no). If 
not, you could use a view to get around the problem. I'll try find a proper 
solution.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/ZnlGOFRTeHFDN29K.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Confirming a mapping with 1.1 to 1.2

2011-06-01 Thread James Gregory
That looks correct, yeah. I'm sorry you had to make these changes. Those 
methods you were using in 1.1 were never supposed to be available, but they 
were published to nuget without my knowledge :(

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/dTAwVlZmSERJRmtK.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Not all tables are mapped with Fluent

2011-05-26 Thread James Gregory
Can you show how you're configuring your mappings? I'm not sure I follow 
what you're doing.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Default Value does not work with DateTime and Fluent Nhibernate 1.2?

2011-05-25 Thread James Gregory
What does the Default do in that case, if you're not generating your schema? 
The Generated.Always tells NHibernate that it should use whatever the DB 
server generates.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Not all tables are mapped with Fluent

2011-05-25 Thread James Gregory
Are all your ClassMap's public?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Default Value does not work with DateTime and Fluent Nhibernate 1.2?

2011-05-25 Thread James Gregory
Yes, if you generate your schema using the SchemaExport tool. If you're not, 
it has no effect.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Default Value does not work with DateTime and Fluent Nhibernate 1.2?

2011-05-24 Thread James Gregory
The Default method is used to specify what the default constraint should be 
on the column when you're generating your schema from your mappings. If 
you're not using SchemaExport/Update, then that method does nothing. To 
specify a default value for a property/field, just assign it like you would 
a normal field; set it in the field definition or in the constructor of your 
entity, nothing fancy required.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Sorting problem: Component vs. Reference

2011-05-24 Thread James Gregory
So with NHibernate 3.1 it fails, but NHibernate 3.0 it works? Sounds like an 
NHibernate bug then. You'll want to report that, with a failing unit test 
unless you want to be shouted at, to the NHibernate team (their 
jira
).

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: RE: [fluent-nhib] Re: HasMany mapping to methods (their backing fields)?

2011-05-23 Thread James Gregory
This is a limitation/bug/feature of NHibernate. See the "Very Important 
Note" at the bottom of 6.4 in the 
docs
.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Inheritance Mapping -- One Table for all subclass

2011-05-23 Thread James Gregory
Your DiscriminatorValue call isn't valid, what are you trying to achieve 
here? The DiscriminatorValue should be a constant not the Id of the entity, 
as it's used by NHibernate so it knows which class to instantiate when 
fetching the data. If you don't specify a DiscriminatorValue, FNH will 
default to using the subclass name as the discriminator.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Dictionary mapping problem

2011-05-23 Thread James Gregory
I agree :)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: HasMany mapping to methods (their backing fields)?

2011-05-23 Thread James Gregory
Sounds like you're doing something else wrong. Is your relationship 
bi-directional? If so, are you setting the Customer property on your Order? 
If no to either of those, that's why you're getting the exception.

HasMany(x => x.GetOrders()) should work too.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent Hardcoded to use the Castle ProxyFactoryFactory?

2011-05-20 Thread James Gregory
I was thinking of doing the same, but I imagine it would affect other 
settings too. Need a more generic solution, but definitely on the right 
lines.

And thanks, it's excellent apart from the bugs ;-)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Dictionary mapping problem

2011-05-20 Thread James Gregory
Cool, glad you've got it sorted. Dictionary mappings are something that'll 
be cleaned up for the next release. They're nasty as it stands.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Sorting problem: Component vs. Reference

2011-05-20 Thread James Gregory
How does it fail? Errors?

I'd profile your sql and see what it's trying to execute.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: problems with the size of the fields to mapping

2011-05-19 Thread James Gregory
What database are you using? Can you export your mappings as 
hbm.xml
 and 
show us how it looks, that'll help us debug it.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent Hardcoded to use the Castle ProxyFactoryFactory?

2011-05-19 Thread James Gregory
Definitely not. It should default to Castle if you don't give it anything 
else (via method call or xml), but it shouldn't override your settings. I'm 
getting the feeling we've got a regression here. I've created an 
issue
 and 
we'll have it fixed asap.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: ElementPart Nullable

2011-05-18 Thread James Gregory
Thought so. The 1.2 release was the first nuget package that was "official" 
before that it was created by someone else, and the previous nuget package 
was actually from our unstable branch rather than our release branch. So 
what you're seeing aren't *technically* regressions, because they were never 
actually released by us; however, they're still needed, so I'll make sure 
they get done.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: ElementPart Nullable

2011-05-17 Thread James Gregory
Let me guess, you're using nuget?

Thanks for bringing this to my attention, I'll get it fixed asap. I've 
created a ticket for 
it
.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Clustered index on many to many relationships

2011-05-17 Thread James Gregory
It's my understanding that NHibernate, and as a result Fluent NHibernate, 
doesn't create clustered indexes at all (and some of those links seem to 
confirm that). People are suggesting you use a  element in 
an hbm.xml file. Fluent NHibernate allows you to easily mix-and-match fluent 
mappings and hbms, so that might be the way forward for you. As one of those 
links mentions, be careful with Azure and dropping indexes.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent Hardcoded to use the Castle ProxyFactoryFactory?

2011-05-17 Thread James Gregory
If you can reproduce the issue consistently, show me and I'll file a bug.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Conventions not working with FNH 1.2?

2011-05-17 Thread James Gregory
Ah! I'll try it using ExportTo. I seem to remember having an issue like this 
a long time ago, perhaps we've regressed somehow. Thanks for the extra info.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: not-null property references a null or transient value while testing bi-directional mapping

2011-05-17 Thread James Gregory
Ah, I completely missed that you were using the PersistenceSpecification! My 
bad.

What happens if you don't try to assert on the goals collection? (ie. just 
check the Id). Does that work?
What happens if you create a PersistenceSpecification and do it the 
other way around?

I'm guessing there's probably some kind of issue in the 
PersistenceSpecification, as there doesn't seem to be anything immediately 
obvious about your mappings.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: RE: [fluent-nhib] not-null property references a null or transient value while testing bi-directional mapping

2011-05-16 Thread James Gregory
+1 to what Michael said.

Which entity are you trying to persist? Your goals collection is set to 
cascade, so if you were saving a Match it should cascade the save to Goal, 
but your References in Goal isn't set to cascade so it wouldn't work the 
other direction.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FluentNHibernate nuget package dependencies

2011-05-13 Thread James Gregory
Are you sure? Doesn't Nuget just modify your project to pick up the 
assemblies from the packages folder? Has this changed recently?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FluentNHibernate nuget package dependencies

2011-05-13 Thread James Gregory
That's more work for me, and more things to go wrong. I'd rather avoid this 
approach if possible.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Native Primary Key Convention w/Sequence

2011-05-13 Thread James Gregory
I'm blocked from even using HTTPS to unauthorised websites :(

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FluentNHibernate nuget package dependencies

2011-05-13 Thread James Gregory
Remove those dependencies yourself afterwards.

Fluent NHibernate should work out-of-the-box, without you having to 
download/install anything else manually. If we were to depend on the 
NHibernate package, our users would have to manually install a proxy factory 
themselves, *every time*. I'd rather inconvenience a small subset of users 
who want to use an alternate proxyfactory, than inconvenience everyone.

I'd be happy to make changes if you can propose a solution which doesn't 
require manual intervention from FNHs users, and doesn't result in me 
maintaining multiple nuget packages. Or, if you can prove Linfu is more 
popular than Castle, I'd happily make that the default in the next version.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FluentNHibernate nuget package dependencies

2011-05-13 Thread James Gregory
You're not forced to use castle, it just defaults to it. You're able to use 
whatever proxyfactory you like.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: PersistenceSpecification problem with collection ordering

2011-05-13 Thread James Gregory
That's a tough one. *It depends* is the answer, as usual.

The behaviour is correct if your collection is mapped as an NHibernate 
 (AsList), which is an indexed collection; however, it's not valid for 
sets or bags. Really, this method should figure out what kind of collection 
it is and treat it accordingly; unfortunately, it's fairly common to use 
IList to mean a bag and a list, which makes it pretty difficult.

I think it'd be acceptable to have multiple testers for collections, so the 
user can pick a List, Bag, or Set.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: How to map a CompositeID as the primary key

2011-05-13 Thread James Gregory
I'm confused. What's the problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-13 Thread James Gregory
I also just realised I said ".Net for" instead of ".Net 4"... Can you tell I 
was working late last night? ;)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-13 Thread James Gregory
I'll get a few more bugs fixed, then I'll push a new release to nuget.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: FluentNHibernate nuget package dependencies

2011-05-12 Thread James Gregory
Fluent NHibernate has always defaulted to use the Castle ProxyFactory. We 
can't depend on the NHibernate package, because it doesn't include a proxy 
factory, without which FNH is dead in the water.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent Hardcoded to use the Castle ProxyFactoryFactory?

2011-05-12 Thread James Gregory
Definitely not. FNH has always defaulted to the Castle ProxyFactory, but 
you've always been able to override it.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: The specified element column length isn't respected when mapping a dictionary

2011-05-12 Thread James Gregory
Just committed a fix in the v1.x branch.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Incorrect mapping bug (mine), entity not being persisted, and my solution - NUnit test

2011-05-12 Thread James Gregory
I just committed a change that'll make FNH pick up internal ClassMaps. This 
is something that always catches people out, so it's about time I changed it 
:)

If you're into cutting down on your keywords, FNH will also instantiate a 
classmap via a private constructor, so you can cut out a few 
public/privates.

class MyMap : ClassMap
{
  MyMap()
  {
  }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: OrderBy property in the mapping file

2011-05-12 Thread James Gregory
I've just tried to reproduce this, and can't. I used the same version of 
FNH, and it's correctly writing out the order-by attribute (and affecting 
the queries). Could you create a test case to show this? Or a sln with a 
simple example.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Bug - NaturalId Override

2011-05-12 Thread James Gregory
Just pushed a fix to the v1.x branch. Thanks for the test, very helpful!

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Native Primary Key Convention w/Sequence

2011-05-12 Thread James Gregory
Committed, thanks :)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Conventions not working with FNH 1.2?

2011-05-12 Thread James Gregory
I've tried to reproduce both of your issues and I can't. I modified the 
Example.FirstProject and Example.FirstAutomappedProject example projects 
which are included with the FNH source, and both of them applied table 
naming conventions correctly.

*@dwlodarczyk* What version of FNH are you using exactly? You say 1.2, was 
that the official release or one of the pre-release builds? What's the build 
version?

*@Vahid* Try upgrading to the 1.2 official release, the version you're 
running is a few builds behind. I'm having no issues with the latest.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-12 Thread James Gregory
v1.x branch now should have a fix for this. Because we're not a .Net for 
project yet (and I can't yet be bothered to maintain two versions), FNH will 
just pick up any type named ISet and assume you know what you're doing. 
Let me know how it turns out when you've had a chance to take a look.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Fluent NHibernate OptimisticLock.None() causes “The string 'none' is not a valid Boolean value.”

2011-05-12 Thread James Gregory
Yay for consistency. NHibernate expects "none" for the optimistic-lock 
attribute on a , but "false" for when it's used on a collection. :(

This is now fixed in the v1.x branch.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Native Primary Key Convention w/Sequence

2011-05-11 Thread James Gregory
You're not alone with the corp. IT ports issue... :(

I'll take a look, thanks for taking the time to do most of the leg work!

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: NHibernate Code-First

2011-05-10 Thread James Gregory
Nice.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent NHibernate dead?

2011-05-04 Thread James Gregory
Don't worry, no slighting received. :)

My point was, for the most part everyone involved knows how most things 
work. There really aren't any specialists in our little team.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent NHibernate dead?

2011-05-03 Thread James Gregory
Automapping will continue. I don't believe Paul has been any more or less 
responsible for Automapping than I have, in fact it was Andrew Stewart who 
was the original Automapping guy and he hasn't been active in quite a while.

Nothing is dead, nothing is changing.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-01 Thread James Gregory
For what it's worth, you're not the only one who's requested native ISet 
support either.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-01 Thread James Gregory
If you were happy to use Iesi, then it would all work fine ;)

But yeah, it's about time we supported the native .Net 4 collections. I'll 
get a fix out soon.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-01 Thread James Gregory
Ugh, that's not good. Sorry Mohamed, but it doesn't look like there's going 
to be an easy way to get this to work without using Iesi.Collections. I'll 
get a fix out ASAP to get it working with the native .Net 4 collection 
types, no hackery required.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-01 Thread James Gregory
CollectionTypeResolver definitely looks like the place we should be 
changing, and ideally adding a callout to something configurable.

Your second example isn't anything to worry about, that's a part of the 
PersistenceSpecification stuff (a testing tool for mappings). It's not 
actually used to generate mappings. You're correct in that it wouldn't work, 
but it won't affect your mappings in any way.

HashSet is a .Net 3.5 collection, so the collection factory stuff isn't 
necessary. It should just work straight out of the box.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent NHibernate dead?

2011-05-01 Thread James Gregory
Like I said, FNH is not dead. There's no "more or less" about it, there will 
be a NH3.2 compatible release when it's done. Simple as that. No need to 
worry.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Automapping Read Only Properties

2011-05-01 Thread James Gregory
Automapping is really going to struggle to make sense of your DisplayTitle 
property. As it's a getter only, it'll try to find a backing field that 
matches; off the top of my head, I don't know what it'll do if it doesn't 
find one.

The Access.ReadOnlyProperty() method looks suspiciously broken. I'm under 
the impression you need to supply a "naming strategy" to go with nosetter, 
which that method definitely does not do. Try one of the 
ReadOnlyPropertyThroughXXX() methods instead. I think this is a badly 
implemented method.

Really though, I don't think this property should be mapped at all. It 
doesn't seem relevant to NHibernate. I'd use an override or change your 
automappingConfiguration to skip this member.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



Re: [fluent-nhib] Mapping Problem

2011-05-01 Thread James Gregory
I obviously messed up on this one and let a few more emails pile up than I 
should've. My bad.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: ManyToMany Mapping

2011-05-01 Thread James Gregory
Export your mappings and show us them, that's a good place to start.

Is it only SQLite which is causing the problems, or do you get the same 
issues with SQL server?

Try turning on show_sql (or use a profiler) to see what SQL is being 
executed.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Is Fluent NHibernate dead?

2011-05-01 Thread James Gregory
How very sensationalist a title this is.

No, FNH is not dead. Yes, there will be a release for NH 3.2.

As has always been the case, we don't track non-GA releases, so as NH 3.2 is 
currently still in Alpha we don't have a release out for it.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Problem Mapping .NET ISet With Automapping

2011-05-01 Thread James Gregory
Hi Mohamed,

What version of FNH are you running?

1) Definitely sounds like an oversight. Ideally there should be a way for 
the user (yourself...) to control what FNH considers a Set, rather than us 
having a hard-coded list of collection types.

2) What part of the code is this? Even though FNH doesn't recognise ISet, it 
definitely does work with HashSet.

You should be able to use HashSet in the place of ISet and have it work. 
It's not ideal, but it should work until we can get a fix out.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Formula and automapping

2011-04-27 Thread James Gregory
So you're setting the formula in your ClassMap and changing column names in 
a convention? Sounds like the column name convention is undoing the formula.

You do realise that column names default to the same as the property name?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



  1   2   3   4   5   6   7   8   9   10   >