Hi Jagdeep
Snap !
http://jira.nhibernate.org/browse/NH-326
How far have you got? I've managed to get the basic save/retrieve working but there are a few limitations of VistaDB that are tricky to work around.
The main one I came across is that retrieving the identity column of a newly inserted item requires the column name and table name in the SQL so I have had to make a 1 line change to NHibernate to cater for this (which doesn't affect any other drivers). I've since been looking at Hibernate 3.x and this has something similar so maybe they have come across the same thing with another driver and come up with a similar solution.
Apart from that, the limitations are mainly to do with the SQL that VistaDB will accept and the data-types supported. Joined-subclasses are a problem because it doesn't like case when is null for instance.
So, I'm not sure yet whether its acceptable to suggest some hibernate 3.0-like changes to NHibernate to support the limitations of a particular driver or to just accept that a certain Db driver will have limitations and not support some NHibernate features.
- Simon