do you mean something as DomainEvents, a central message-queue and various clients listening messages and events ? You already have some specific frameworks doing it; NH is about persistence.
-- Fabio Maulo El 21/03/2011, a las 09:47, "H.Alex" <[email protected]> escribió: > Fabio, do you have an implementation in mind? Did you mean that there > should be some custom notification broadcast? > > I know NH doesn't supprort notification services via e.g. SQL Serv > because it is db-engine agnostic. Is there an effort to support > various notification services? > > > On Mar 20, 11:44 pm, Fabio Maulo <[email protected]> wrote: >> The other workstation should shout "I HAVE INSERTED/UPDATED A CUSTOMER!!!!" >> and your workstation should listen the shout. >> >> >> >> >> >> On Sun, Mar 20, 2011 at 7:13 PM, Robert <[email protected]> wrote: >>> Hey there, >> >>> I am new with NHibernate, and stuck on a little problem, so i hope you >>> can help me. >> >>> To start with, i created a new class for example "Customer" and did >>> the NHibernate mapping stuff. >>> This works all well, Create a new object of this class and the >>> database is updated as it should be. >> >>> And here starts my problem: On startup of the software, a list with >>> all objects is created via >> >>> public IList<Customer> GetAllCustomers() >>> { >>> using (ISession session = NHibernateHelper.OpenSession()) >>> { >>> ICriteria custCriteria = >>> session.CreateCriteria(typeof(Customer)); >>> IList<Customer>customerList = >>> custCriteria.List<Customer>(); >> >>> return customerList; >>> } >>> } >> >>> But there are other workstations with this software too, who are >>> updating the database, so i have to keep this list updated all the >>> time. Any idead how to realize it? >> >>> Kind regards >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "nhusers" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/nhusers?hl=en. >> >> -- >> Fabio Maulo- Hide quoted text - >> >> - Show quoted text - > > > -- > Have a nice day. > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
