NetSqlAzMan & Nhibernate

Jun 16, 2010 at 12:45 AM

I have an application that is using netsqlazman for security concerns.  I would like to be able to map the netsqlazman tables to a user table that exists in the application.  The user table has the SID, and would link to AuthorizationsTable via objectSid.  The problem is nhibernate gives me an error about using a binary object for an ID.  Has anyone else dealt with this problem?  Is there anyway to resolve?


David Guthu

Jun 21, 2010 at 12:47 PM

Never used NHibernate.

Have you tried using it without NHibernate ?

Andrea Ferendeles
NetSqlAzMan Project Coordinator
E-mail Web

Jun 24, 2010 at 4:54 PM
Hi Andrea, What I ended up doing, hopefully as a temporary solution, was create a view which has a subquery which grabs my userid (primary key on the user table) from the database table I store users in. I use that to link my User Objects to the authorizations table. Seems like there has to be a better way though. NHibernate doesn't allow joining objects using a varbinary field... Maybe there is a way to make this possible... David