NHibernate exceptions

Posted on Tuesday 14 October 2008

After hours of travel, our hero finds himself suddenly in the midst of dark woods. Nailed to a tree there is a wooden sign, weather-beaten by the ages. It reads:

"Invalid Cast (check your mapping for property type mismatches); setter of classname"

Right besides the sign stands NHibernate, its expression unreadable. Our hero, unsure of which path to take, asks for directions as to what to fix.

NHibernate: “The problem lies…” - sweeps hand widely at the class - “that way”
Ricardo: “Where? Which way?”
NHibernate: “In a property…”
Ricardo: “Of course, all it has are properties! Which one?”
NHibernate: “No… I’m afraid I’ve said too much”


1 Comment for 'NHibernate exceptions'

  1.  
    Jorge
    October 14, 2008 | 6:23 pm
     

    You, my friend, are showing your age :)

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI