Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
.net android asp.net asp.net mvc azure backup bigdata book business intelligence c# community continuous delivery database denali excel gotcha how to indexing java linq mongodb nancy nhibernate nosql performance powershell ruby security silverlight sql sql advent 2012 sql friday sql server sql server 2000 sql server 2005 sql server 2008 sql server 2008 r2 sql server 2012 sql server denali ssis ssms ssrs structuremap syndicated t-sql tip unit testing vb.net visual studio 2010 windows 7
- SQLDenis (585)
- Christiaan Baes (chrissie1) (528)
- Ted Krueger (onpnt) (332)
- Jes Schultz Borland (grrlgeek) (140)
- Eli Weinstock-Herman (tarwn) (117)
- Alex Ullrich (51)
- George Mastros (gmmastros) (46)
- Koen Verbeeck (31)
- Naomi Nosonovsky (27)
- Axel Achten (axel8s) (23)
- David Forck (thirster42) (22)
- chopstik (18)
- Kevin Conan (18)
- Rob Earl (14)
- thatrickguy (12)
I just finished reading the NHibernate 3.0 Cookbook, part of Packt Publishing's Open Source series, and I've been really impressed. The book is written by Jason Dentler, whose blog I'm sure anyone doing frequent searches for NHibernate has run across once or twice in their travels.
What really stood out to me about this book was how easy it was to read. You can tell that Jason went out of his way to make the book approachable for people unfamiliar with the concepts (with...
The model behind this screen is pretty complex.
This part is especially bad.
Each of those colored lines is 421 rows in the database and this particular one has 14 of those. So that means it has to load 5894 rows just for...
The last time I did a post on NHibernate (or any post for that matter - I guess I've been a bit busy) Ben asked a question about what I ended up using for session management in the application I've been working on. I guess I could come out and answer it, but I'd hardly get a new post out of that. Instead I will break out the tried and true answer for all things IT, "It depends". Let's take a look at what it depends on.
What is the Session?
This is probabl...
I realized the other day that it's been nearly two years since I wrote a series of posts as I was learning to use NHibernate for data access. I haven't really blogged a whole lot about NHibernate (I leave that to our resident expert, Chris) but I've certainly been working with it a bit. And I've learned to like it a lot.
A little background on what I've been doing - the recipe tracker app I was using as a sort of "hello world" has increased greatly in scope (good thin...
This book is for anyone who...
I'm using NHibernate version 2.1.2 GA and the 2.1.2 Linq version that goes with it.
And I like to state that I'm not complaining, but perhaps I can save some people from losing too much time while trying this. You still have plenty of other options if Linq does not work in your situation.
So let's say I have this Person Object
Ok, time to try the linq to nhibernate subquery possibilities.
Let's say I have a object called TexCase that has a collection of Tags Of Type Tag. And the Class Tag has a property called Tag of type string.
So I have this HQL query.
Today I thought it would be good to try some Linq to nHibernate while I was waiting for VS2010 to finish downloading.
Ok so here is how NHProf has helped me solve a problem. This one in particular is a Select N+1 problem which means is that you are executing the same select several times in one session which usualy means you are doing something wrong.
First up the code.
When doing a find all on a class called Fibergroup I get this as a result from NHProf.
Today I noticed that my integration tests with nhibernate were runnning very slow on the build server. Very slow meaning 1 hour to run while they run for 6 minutes on my dev machine all 840 of them. Something was different.
I am using Finalbuilder 5.5 on my build machine and that uses the nunit console to do the dirty work for it.
So I tried running it in the nuint gui tool and there too it was slow.
So I clicked a bit on the tabs, one never knows when one might get lucky and low and behold I was lucky. The Log tab of the GUi builder was getting lots of work.
:: Next >>