Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Desktop Developer

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.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

Search

XML Feeds

Google Ads

Tags: nhibernate

comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

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.

Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

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.

I ...

Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

Previous posts can be found here:

Setting up the repositories for our objects is where this really starts to get fun for m...

Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

Previous posts can be found here:

In part two we set up our domain model. Now, before we can test nhibernate’s ability to work with and persist objects, we need to ensure that we’ve defined our schema well enough that NHibernate can create the Schema for us (since t...

Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

In part one we discussed what has brought me to the shameful point of using an object-relational mapper. At the risk of being ostracized from the database community, I really think this is going to be helpful for my project.

The next step is to actually build up the domain model, and set up the mappings for NHibernate. I won’t be pasting all the code in here, but I will be attaching the project itself to the next po...

Read More...

:: Next >>