Re: [fluent-nhib] Download FluentNHibernate binaries
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 oskar.b...@gmail.com javascript: Continuous integration is available here: http://teamcity.codebetter.com/project.html?projectId=project8tab=projectOverviewguest=1 /Oskar 2012/8/8 Thomas Kehl kehls...@gmail.com javascript: 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.comjavascript: . To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com javascript:. 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.comjavascript: . To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com javascript:. 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: Dead links on fluentnhibernate.org/
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/fb 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 http://goo.gl/ZBptR -- 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.
Re: [fluent-nhib] Re: Decent .AsTernaryAssociation() documentation
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: Good work, keep it up.
+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.
[fluent-nhib] Re: Fluent NHibernate compatible with NHibernate 3.3GA?
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: Fluent NHibernate compatible with NHibernate 3.3GA?
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: Spam on the Wiki
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: Wiki spam
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: Wiki spam
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: Spam on the Wiki
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: Formerly missing James Gregory found safe and sound in Australia!
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] Re: Any idea when new version ( 1.3.0.717) of NuGet package for FNH will be released
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] So what's going on here?
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: Mapping to a backing field with Fluent NHibernate v1.3.0.717
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] Holiday
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 StackOverflowhttp://stackoverflow.com 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
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.
Re: [fluent-nhib] How to map a char to bool?
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?
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.
[fluent-nhib] Re: How do you figure out NHibernate.DuplicateMappingException?
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: How do you figure out NHibernate.DuplicateMappingException?
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.
Re: [fluent-nhib] Re: automapping, overrides, and subclasses
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: automapping, overrides, and subclasses
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] Re: Access.None() is adding a column name
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] Updated Nuget package
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: Use Actual SqlConnection Instead Of A ConnectionString
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.
[fluent-nhib] Re: FluentNHibernate nuget package dependencies and NHibernate 3.2
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: FYI: NHibernate 3.2.0GA released!
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.
Re: [fluent-nhib] How to define the tablespace in ORACLE??
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: Where do you post bugs issues?
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: Mapping broken after upgrade to FNH 1.2
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: Component ColumnPrefix is broken in 1.2.0.712 (for NH3)
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] Update/sitrep
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: how to set data types and sizes with the method Composited_Id?
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] Re: Update/sitrep
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=1state=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: Where do you post bugs issues?
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: Add mappings by namespace
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
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 issuehttp://fluentnhibernate.lighthouseapp.com/projects/33236-fnh/tickets/216-override-scanning-seems-to-try-to-instantiate-abstract-classesfor 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: How do I map a table join in NHibernate / Fluent NHibernate that uses a unique key instead of the primary key?
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.
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?
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-1452http://216.121.112.228/browse/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: Confirming a mapping with 1.1 to 1.2
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.
[fluent-nhib] Re: Dictionary mapping problem
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: Inheritance Mapping -- One Table for all subclass
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: Is Fluent Hardcoded to use the Castle ProxyFactoryFactory?
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 issuehttp://fluentnhibernate.lighthouseapp.com/projects/33236-fnh/tickets/214-configuration-regression 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
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
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 ithttp://fluentnhibernate.lighthouseapp.com/projects/33236-fnh/tickets/213-elementpart-is-missing-nullable . -- 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
+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.
Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping
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.
Re: [fluent-nhib] Re: Problem Mapping .NET ISet With Automapping
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.
[fluent-nhib] Re: How to map a CompositeID as the primary key
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.
[fluent-nhib] Re: FluentNHibernate nuget package dependencies
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: FluentNHibernate nuget package dependencies
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.
Re: [fluent-nhib] Re: Native Primary Key Convention w/Sequence
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
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.
[fluent-nhib] Re: FluentNHibernate nuget package dependencies
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: Fluent NHibernate OptimisticLock.None() causes “The string 'none' is not a valid Boolean value.”
Yay for consistency. NHibernate expects none for the optimistic-lock attribute on a class, 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: Conventions not working with FNH 1.2?
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.
[fluent-nhib] Re: Bug - NaturalId Override
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: OrderBy property in the mapping file
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: Incorrect mapping bug (mine), entity not being persisted, and my solution - NUnit test
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 : ClassMapMy { 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: The specified element column length isn't respected when mapping a dictionary
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: Is Fluent Hardcoded to use the Castle ProxyFactoryFactory?
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: FluentNHibernate nuget package dependencies
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 NHibernate dead?
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.
[fluent-nhib] Re: Problem Mapping .NET ISet With Automapping
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: Is Fluent NHibernate dead?
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: ManyToMany Mapping
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.
Re: [fluent-nhib] Mapping Problem
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: Automapping Read Only Properties
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] Re: Problem Mapping .NET ISet With Automapping
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
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
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.
[fluent-nhib] Re: FluentNHibernate.Testing.dll
In what way are you depending on it? FluentNHibernate.Testing is our unit tests assembly, and is not a part of our redistribution. If you want it, you should get the source code and build 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: Convention interface to change foreign key names for this mapping?
Thanks, I'll 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: regression on FluentMappings.Conventions.Add(DefaultLazy.Never()) in FNH 1.2?
Investigating, 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: Upgraded to Fluent nHibernate 1.2.0.694 and new Generate() method doesn't work.
public override bool ShouldMap(System.Type type) { return type.GetInterfaces().Any(x = x.IsGenericType x.GetGenericTypeDefinition() == typeof(IEntityWithTypedId)); } This doesn't look right to me, what are you trying to do? -- 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: Stable build for NH 3.1?
http://teamcity.codebetter.com/repository/download/bt295/23268:id/fluentnhibernate-NH3.1-binary-1.2.0.705.zip -- 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.Mapping.Builders namespace
Version 1.1.0685 *is* the 1.1 release, where did you get your 1.1.0.0 version from? -- 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: FluentNHibernate.Mapping.Builders namespace
Daniel is correct. Confusingly, CompositeElementBuilder is the as-of-yet unreleased 2.0 name for CompositeElementPart; how you've managed to get a build of FNH with 2.0 class names but versioned 1.1, I don't know. -- 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 2.0
2.0 is a long way off yet. I've been integrating changes into our v1.x branch for the pending 1.2 release. I don't think I've got around to yours yet, but I will do before the release. After that release is done, master will be sync'd and work on 2.0 will begin. -- 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: FluentNHibernate 2.0
:) Yeah, all pull requests should be in before we release 1.2. -- 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
Sounds like a bug! At this rate 1.2 is never going to get finished... ;) -- 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] Automapping, change collection type from Bag to Set
Thanks for that Krzysztof. Our IEnumerable support is a bit lax, and it's something I've been hoping to sort out; in theory, it shouldn't be too difficult to do either. NHibernate only supports a limited number of backing field formats, and it shouldn't take too much to try to guess them with reflection. I reckon we can get more robust support for IEnumerable in before 1.2 goes out, and that should hopefully make the need for swapping collection types in conventions a bit less important. -- 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: IdBag and old Support Site
For an indexed list you should just use IListT. -- 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: Schema Generation UI
There are a few products out there that are GUI interfaces over NHibernate, though I don't specifically know their capabilities. LLBLGen and Visual NHibernate come to mind. You might want to check out them first before you start. -- 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: Why am I getting: NHibernate.MappingException : No persister for: System.String
I have no idea. Never seen that before. Do you have any other mappings? Can you create a failing test or example sln for us to take a look at? -- 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: .HasMany() vs .HasMany()
It depends what the Claims collection actually is. If it's an IList then it's definitely a regression. If however, it's a IDictionary, than it's working as expected. The non-generic call (or rather, the generic arguments *implied* call) will pick the most appropriate overload, and if it's a dictionary then that'll produce a map. When you explicitly specify a single generic argument that implies it's a regular old bag, if you passed two generic arguments you'd get a dictionary. Francois, could you show us your entity class? -- 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() vs .HasMany()
Putting one generic argument is saying this is a collection of T, pass it two generic arguments and you're saying this is a dictionary of TKey, TValue. You are using the second when you don't pass any generic arguments, it's just that C# is able to infer those arguments. The issue to me is that you can call the single generic argument case at all with a dictionary. A dictionary can be nothing but a map, and having AsMap is entirely redundant. -- 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() vs .HasMany()
If you're encountering these issues, you're running on the master branch which is considered largely unstable (and undocumented!). The docs are aligned to the v1.x, but sadly the dictionary situation is worse there. We're going to release 1.2 soon, and there'll be a minor docs update. From there it'll be 2.0 work with a significant cleanup of the collection mapping api. Until then I'm afraid you're just going to have to ask us for help if you get stuck. -- 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: Many-to-Many, setting a property on the child from a column in that joining table
You can't do that with a many-to-many in NHibernate. Instead you need to make the middle of the relationship a class itself, a SubscriberProvider or something similar. You can either map that class as an entity (my typical approach) or you can map it as a component, both have the same end result. -- 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() vs .HasMany()
I'm on with the NuGet situation now. Should be resolved in the next couple of days, along with a 1.2 release of FNH tied to the latest NHibernate and Castle versions. -- 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 version changed in nuget
Yep, that's a known issue. The Nuget package was created by a 3rd party and has ceased to be updated for whatever reason. Now that I'm back home, I'll be taking responsibility for the package and sorting out this situation asap. Thanks for your patience. -- 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] Latest happenings
Hello everyone, First, apologies for any outstanding support issues people have. I've been out of the country for a month and things have slipped a bit. I'll be getting on top of everything in the coming days. I'm aware there's an issue with the Nuget package. The package was created by a 3rd party who has ceased to maintain it; now that I'm back, I'll be taking responsibility for it and sorting the situation out. We'll also have a 1.2 update out before too long, which'll include an update to NH3.1. Thanks for your patience. We'll be back on track before you know 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: Length on KeyPropertyPart
You're using 1.1, which doesn't include the latest changes. You'll have to wait for the 1.2 release if you're using OpenWrap, or build it yourself. -- 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: Mapping Compnent with backreference to entity
I don't think it's possible to have a reusable component in this case. If you need a parent reference, you're going to have to have a component type per containing entity. -- 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: Where's the wiki documentation for HasMany collection mapping?
I don't know. I've advised you not to put your foreign key ids in your entities. If you insist on doing it, I'm afraid I can't help you. -- 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: Where's the wiki documentation for HasMany collection mapping?
How about dropping the attitude, and maybe I can help you? If not, you're on your own. Fluent NHibernate is provided gratis, and support is provided out of my own free time, if you're not happy with either you know the way out. If you can't be civil, I'll go spend my time on other things more important. So, what specific questions would you like answering? -- 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: Where's the wiki documentation for HasMany collection mapping?
I wrote a big reply to this which Google Groups has apparently ate. So you'll have to bare with me if this comes out a little terse, it wasn't like that originally. 1) If you've got a foreign key id in your entity *you're doing it wrong*. It really is as simple as that. Don't put your foreign key ids in your entities, use your relationships as they should be. What you're trying to do with Map(x = x.TicketId) is a hack, and will not work. 2) I think you should read up on Cascading in NHibernate, because you don't seem to be taking advantage of it. I say this because you've said you're calling InsertNote and InsertTicket separately. I think this has probably something to do with your RIA infrastructure, and if that's the case then you shouldn't bother with Cascades at all. 3) Your scenario 2 sets off alarm bells, because again you're using a foreign key instead of the object relation. NHibernate works with objects, not foreign key ids, if you're not setting the relation it isn't going to work property. This is a fundamental issue with using your entities in remoting, as there's always a mismatch between what the client is able to send and what your persistence mechanism needs. DTOs are the best way to handle this stuff, then you could receive an id from the client that you query on and populate the property appropriately in the entity. I believe it's your infrastructure that hasn't been designed with NHibernate in mind. You need to take a step back from this and get your problem working in an isolated environment away from your existing infrastructure. Creating relationships in Fluent NHibernate is very simple, and the fact that you haven't been able to do it indicates you're either not telling us everything, or more likely your infrastructure is making you do something that NHibernate doesn't like. Create a new project with just FNH, and a clean database, and just try create a bi-directional relationship. -- 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
You're not doing basic inheritance mapping. You can't have multiple discriminator columns. If that's what you're trying to do with your SubTypeType, then it isn't going to work. You have one discriminator column for the entire table. To map a table-per-hierarchy with Fluent NHibernate you do this: public class EntityBaseMap : ClassMapEntityBase { public EntityBaseMap() { Id(x = x.Id); DiscriminateSubclassesOnColumn(Type); } } public class EntityChildAMap : SubclassMapEntityChildA { } public class EntityChildBMap : SubclassMapEntityChildB { } That will create a single table for all the subclasses. If you want them to have their own tables, remove the Discriminate method call. A subclass doesn't have a unique identifier, hence the lack of the Id method in SubclassMap, as it inherits that identifier from the class it extends. If you need to use a different column name for the primary key in the table, then you should use the KeyColumn method from inside your SubclassMap. -- 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: HasOne does not work?
How would you expect the schema to look? A one-to-one relationship is an implicit relationship between two tables, where there's considered to be an association when the two primary key values match. There's no referential integrity when using this relationship. -- 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] suggested modification to the JOIN
I'm pretty certain this isn't possible. NHibernate doesn't support joining on arbitrary columns. If your PK was a composite key, then you could use multiple columns that way, but that's 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-nhibern...@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.