I have a job that takes a long time. So I want to execute the same work to speed up the tasks of many programs / threads / computers. Each task requires unique ID, which is kept in a DB. So I thought these IDs could be obtained in such a way:
NHibernate session Present. External transactions (Isolation. List = NHibernate session CurrentCreatorItia & lt; Contextual ID & gt; (.) Setfistsilit (0) .set max result (500) .lust & lt; contextual ID & gt; (); foreign currency RelevantIdsRepository.Delete (x);} NHibernate session.Constitution transactions.Common (); Unfortunately, it throws an exception after some time if multiple processes Access to the database (not the nr batch size of deleted objects) Why is it? Should the level of separation of DB be correct? Thank you.
All the best,
Christian
Comments
Post a Comment