Replication triggers are causing the rowcount to be greater than one and therefore causing NHibernate to throw an exception.
I've searched this forum to ascertain whether NHibernate can in fact be used against a replicated database but I found any leads to be inconclusive. The advise given on posts discussing rowcounts has been to add "SET NOCOUNT ON" in the offending triggers. However, what abount triggers that get added by sql server itself?
Has anyone experience in what it takes to configure NHibernate and / or SQL server 2005 replication to get around the rowcount problem? I really have very limited experience in replication, so I'm not sure whether its even possible to manually change the replication trigger to add the necessary NOCOUNT statement.
Thanks
Christian
|