Category Archives: NHibernate

NHibernate Intro Screencast Source

A few folks have asked me recently to post the source/binaries for my recent NHibernate Intro screencasts that are currently up on Dimecasts.net.  So, here they are!   ZIP/Binary download: http://code.google.com/p/pablo/downloads/list Source Code Browse: http://code.google.com/p/pablo/source/browse/#svn/trunk/presentations/chadmyers/nhibernate-intro SVN Source Code Checkout: http://pablo.googlecode.com/svn/trunk/presentations/chadmyers/nhibernate-intro … Continue reading 

| Leave a comment

NHibernate DimeCasts.net Series

Derik Whittaker and his band of merry video elves over at DimeCasts.net have posted the 0th of about 5 parts to an NHibernate draft run-through presentation I did with a few of my colleagues. It was part of a presentation … Continue reading 

| 8 Comments

Integrating StructureMap and NHibernate with WCF

Following many examples I found online for other IoC containers, I borrowed utilized those designs to create a StructureMap instance provider.  One problem we ran into with that design was dealing with NHibernate.  Mainly, there are two types that are … Continue reading 

| 16 Comments

Converting Columns To a Collection with a Nhibernate UserType

For some of you who have been using Nhibernate for a while, may found this old news, but I thought this was coolest thing ever (at least this week). I am working with a legacy database that is,.. unpleasant (yeah … Continue reading 

| 2 Comments

Strategies and discriminators in NHibernate

I recently posted about enumeration classes, and how I like to use them as a sort of “Enumerations with behavior”.  Not every enumeration should be replaced with a class, but that pattern helps quite a bit when I find a … Continue reading 

| 14 Comments

Parameter lists in NHibernate

Occasionally I need to return a set of entites that match a collection of parameters.  In SQL, I would use the “IN” clause, then manually create each parameter in ADO.NET.  With NHibernate, that’s not necessary anymore.  NHibernate has built-in capabilities … Continue reading 

| 10 Comments

Why Use ActiveRecordMediator instead of NHibernate

My blog post on using ActiveRecordMediator to use the Repository pattern with ActiveRecord was discussed on Castle’s Forums.  A good question was raised in that forum, and other people that I talked to about using the Mediator class: “Why use … Continue reading 

| Leave a comment

NHibernate Query Example using CreateCriteria

I’m a big fan of NHibernate. I love how it abstracts out the data portion of your application and allows you to work from the perspective of the domain rather than the database. So in building my domain repositories, I … Continue reading 

| 1 Comment

RE: Presentation Model Question

I’ve been working on an end to end example using MonoRail (I know, just get it posted Joey!) that can demonstrate one way this can be implemented and JP has given me the green light to get it posted even though he’s … Continue reading 

| Leave a comment

Quick Background on my current CICS integration project

I’m currently working on a stop-gap legacy integration project that is geared toward data integration between a legacy CICS system and a new 3rd party product.  I have 2 major tasks in this project, the first being a web application … Continue reading 

Also posted in Agile | 2 Comments