Tag Archives: Development

Introduction to NHibernate Session at Jordev Was Good

By | December 5, 2008

The feedback was very good, and I was glad that everybody liked it. Jordev is really moving ahead, and I am very excited being part of it 🙂 Below is the slide show (it’s an enhanced version from my previous one): [slideshare id=821222&doc=introductiontonhibernate-1228487480885456-9&w=425] Code is the same of the previous one which you can download… Read More »

Mapping Enumeration of type int in NHibernate

By | August 19, 2008

I wanted to map an integer enumeration type in NHibernate, I googled “mapping enumeration in NHibernate” and the best explanation was of Jeremy Miller in his post here. But as it appears (and according to my understanding) that the enumeration type should be mapped to a database column of characters type (varchar, char,…etc). What if… Read More »

How we decide what to have for lunch

By | August 2, 2008

Do you go through the same, time-consuming, frustrating discussion with your colleagues when you want to decide what to have for lunch? well…this is exactly what we have been going through where I work. To solve the problem (partially, because humans can never totally agree! ), I made a small, quick and dirty web application; LunchPoll.… Read More »

My “Introduction to NHibernate” presentation and slides

By | July 2, 2008

I have delivered the presentation I talked about in my previous post here. Actually it was pretty simple and straightforward, the slides them selves don’t have code content; all the code was shown in VS directly (I always found it better to see the code in its really environment to better understand). The attendees were… Read More »

Columns’ case-sensitivity in NHibernate

By | June 28, 2008

The other day I wanted to create an HQL query to retrieve data from one object (WorkOrderFault) that has many-to-many relation with another. so I created the following: ISession session = NHibernateOrmSessionFactory.CurrentNHibernateSession; IQuery query = session.CreateQuery(    “select wof from WorkOrderFault wof join wof.WorkOrderTechnicians as tech where tech.Id = 43334”); IList<WorkOrderFault> objects = query.List<WorkOrderFault>(); The query… Read More »

Builds while deployment

By | June 15, 2008

In my company, we are working on this big GRP project, lots of pages, projects and workflows, soon we are delivering some modules to the customer. So today, while trying to test a workflow that we have been working for days, something weird happened; the users of the workflow didn’t exist anymore!! After searching for a… Read More »