That will work if there is one session factory per application but if there more then they will start sharing the lo value which will create problems. Also with the way generators are architected, you can only have "per table" generators and not "per database" which is what hilo essentially is. so I guess it cannot be done in NHibernate. too bad:&
On Tue, Sep 15, 2009 at 2:49 PM, Tuna Toksoz <[email protected]> wrote: > Do your stuff in the generator, instead of instance fields have static > fields for high and low, that's it? > > Tuna Toksöz > Eternal sunshine of the open source mind. > > http://devlicio.us/blogs/tuna_toksoz > http://tunatoksoz.com > http://twitter.com/tehlike > > > > > On Tue, Sep 15, 2009 at 2:46 PM, Delucia <[email protected]> wrote: > >> singleton > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
