It wasn't me that wrote it. Perhaps I applied the patch? I forget - in any case, its been there for a while because I certainly didn't do anything with the cache config recently.
On Sat, Jan 9, 2010 at 5:19 AM, James Gregory <[email protected]> wrote: > Pwn'd. :( > > On Fri, Jan 8, 2010 at 5:14 PM, Ollie <[email protected]> wrote: >> >> sounds like you guys need to stop getting pwn'd in CounterStrike and >> see what this Paul has been up to... >> >> >> Ollie >> >> >> On Jan 8, 5:01 pm, Hudson Akridge <[email protected]> wrote: >> > Well I'll be. Nice find. Looks like Paul's been busy being awesome. >> > >> > >> > >> > On Fri, Jan 8, 2010 at 11:00 AM, Ollie <[email protected]> >> > wrote: >> > > You can do this from FNH using the 'Cache' property: >> > >> > > . return Fluently.Configure(fileConfiguration) >> > > .Database(MsSqlConfiguration >> > > .MsSql2005 >> > > .ConnectionString(c => >> > > c.FromConnectionStringWithKey("Temp")) >> > > .ShowSql() >> > > .Cache(c => c.ProviderClass(typeof >> > > (NHibernate.Cache.HashtableCacheProvider).AssemblyQualifiedName) >> > > .UseQueryCache())) >> > > .Mappings(m => >> > > m.FluentMappings.AddFromAssemblyOf<IMap>()) >> > > .ExposeConfiguration(c => >> > > { >> > >> > > c.EventListeners.PostLoadEventListeners = new IPostLoadEventListener[] >> > > {new TestPostLoadListener()}; >> > > }) >> > > .BuildSessionFactory(); >> > >> > > Cheers >> > >> > > Ollie >> > >> > > On Jan 7, 5:22 pm, Hudson Akridge <[email protected]> wrote: >> > > > FNH 2.0 Syntax changes: >> > >> > > > References(x=> x.Parent).SaveOrUpdate() >> > > > Has been modified to: >> > > > DesertEagle(target => target.Acquired).SaveGame() >> > >> > > > On Thu, Jan 7, 2010 at 10:21 AM, Ollie <[email protected]> >> > > wrote: >> > > > > you won't beat this L337 camping wh0re with my desert eagle & AWP >> > > > > :) >> > >> > > > > cheers for the info... >> > >> > > > > On Jan 7, 4:11 pm, Hudson Akridge <[email protected]> >> > > > > wrote: >> > > > > > > So can I use an xml config file and FHN simultaneously? >> > >> > > > > > Correct. >> > >> > > > > > why haven't you guys made it easy to config L2 Cache in FHN? ;) >> > >> > > > > > Because we suxx0rz. >> > >> > > > > > James, >> > >> > > > > > I pwn you! Pick your team and map, discuss strategy, it won't >> > > > > > matter, >> > > > > we'll >> > > > > > beat you even with low grade weapons and a 20 second head start. >> > > Bring >> > > > > your >> > > > > > weaksauce! >> > >> > > > > > On Thu, Jan 7, 2010 at 10:02 AM, Ollie >> > > > > > <[email protected]> >> > > > > wrote: >> > > > > > > this is starting to sound alot like a counterstike chat >> > > > > > > forum... >> > >> > > > > > > So can I use an xml config file and FHN simultaneously? >> > >> > > > > > > and secondly, why haven't you guys made it easy to config L2 >> > > > > > > Cache >> > > in >> > > > > > > FHN? ;) >> > >> > > > > > > Ollie >> > >> > > > > > > On Jan 7, 3:15 pm, James Gregory <[email protected]> >> > > > > > > wrote: >> > > > > > > > Dude, I hereby ban you from FNH. >> > >> > > > > > > > On Thu, Jan 7, 2010 at 3:10 PM, Hudson Akridge < >> > > > > [email protected] >> > > > > > > >wrote: >> > >> > > > > > > > > (xml config roxx0rz) >> > >> > > > > > > > > On Thu, Jan 7, 2010 at 9:09 AM, Hudson Akridge < >> > > > > > > [email protected]>wrote: >> > >> > > > > > > > >> Fluently modifying the config is cool, but adds >> > > > > > > > >> complications >> > > when >> > > > > you >> > > > > > > > >> want to have different configurations for different >> > > environments >> > > > > but >> > > > > > > the >> > > > > > > > >> configuration object is only instantiated in one assembly >> > > > > > > > >> (eg. >> > > > > Data >> > > > > > > assembly >> > > > > > > > >> for config, and different values for a test project, >> > > > > > > > >> versus >> > > > > website, >> > > > > > > versus >> > > > > > > > >> a desktop app). >> > >> > > > > > > > >> On Thu, Jan 7, 2010 at 9:04 AM, James Gregory < >> > > > > > > [email protected]>wrote: >> > >> > > > > > > > >>> Ew. >> > >> > > > > > > > >>> On Thu, Jan 7, 2010 at 3:01 PM, Hudson Akridge < >> > > > > > > [email protected] >> > > > > > > > >>> > wrote: >> > >> > > > > > > > >>>> Alternatively, you can still use a hibernate.config.xml >> > > > > > > > >>>> file >> > > > > with >> > > > > > > FNH, >> > > > > > > > >>>> and imo it's much easier than modifying the config in >> > > > > > > > >>>> code. >> > >> > > > > > > > >>>> On Thu, Jan 7, 2010 at 8:24 AM, James Gregory < >> > > > > > > [email protected]>wrote: >> > >> > > > > > > > >>>>> Not done it myself, try google or the nhusers list. >> > >> > > > > > > > >>>>> On Thu, Jan 7, 2010 at 2:22 PM, Ollie < >> > > > > [email protected] >> > > > > > > >wrote: >> > >> > > > > > > > >>>>>> okay, I naive about configuring the instance exposed >> > > > > > > > >>>>>> via >> > > > > > > > >>>>>> ExposeConfiguration for Caching... >> > >> > > > > > > > >>>>>> Any hints ;) >> > >> > > > > > > > >>>>>> On Jan 7, 2:18 pm, James Gregory >> > > > > > > > >>>>>> <[email protected] >> > >> > > > > wrote: >> > > > > > > > >>>>>> > Use ExposeConfiguration on your Fluently.Configure >> > > > > > > > >>>>>> > chain >> > > to >> > > > > get >> > > > > > > > >>>>>> access to >> > > > > > > > >>>>>> > the original NHibernate Configuration instance, >> > > > > > > > >>>>>> > with >> > > that >> > > > > you >> > > > > > > can do >> > > > > > > > >>>>>> what >> > > > > > > > >>>>>> > you please. >> > >> > > > > > > > >>>>>> > On Thu, Jan 7, 2010 at 2:08 PM, Ollie < >> > > > > > > [email protected]> >> > > > > > > > >>>>>> wrote: >> > > > > > > > >>>>>> > > Can I configure the L2 cache from FNH? >> > >> > > > > > > > >>>>>> > > Cheers >> > >> > > > > > > > >>>>>> > > Ollie >> > >> > > > > > > > >>>>>> > > -- >> > > > > > > > >>>>>> > > You received this message because you are >> > > > > > > > >>>>>> > > subscribed >> > > to >> > > > > the >> > > > > > > Google >> > > > > > > > >>>>>> Groups >> > > > > > > > >>>>>> > > "Fluent NHibernate" group. >> > > > > > > > >>>>>> > > To post to this group, send email to >> > > > > > > > >>>>>> [email protected]. >> > > > > > > > >>>>>> > > To unsubscribe from this group, send email to >> > > > > > > > >>>>>> > > >> > > > > > > > >>>>>> > > [email protected]<fluent-nhibernate%2bunsubscr[email protected]> >> > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > >>>>>> <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > >>>>>> > > . >> > > > > > > > >>>>>> > > For more options, visit this group at >> > >> > > > >http://groups.google.com/group/fluent-nhibernate?hl=en.-Hide >> > > > > > > > >>>>>> quoted text - >> > >> > > > > > > > >>>>>> > - Show quoted text - >> > >> > > > > > > > >>>>>> -- >> > > > > > > > >>>>>> You received this message because you are subscribed >> > > > > > > > >>>>>> to >> > > the >> > > > > Google >> > > > > > > > >>>>>> Groups "Fluent NHibernate" group. >> > > > > > > > >>>>>> To post to this group, send email to >> > > > > > > > >>>>>> [email protected]. >> > > > > > > > >>>>>> To unsubscribe from this group, send email to >> > > > > > > > >>>>>> >> > > > > > > > >>>>>> [email protected]<fluent-nhibernate%2bunsubscr[email protected]> >> > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > >>>>>> . >> > >> > > > > > > > >>>>>> For more options, visit this group at >> > > > > > > > >> > > > > > > > >>>>>> >>>>>>http://groups.google.com/group/fluent-nhibernate?hl=en. >> > >> > > > > > > > >>>>> -- >> > > > > > > > >>>>> You received this message because you are subscribed >> > > > > > > > >>>>> to the >> > > > > Google >> > > > > > > > >>>>> Groups "Fluent NHibernate" group. >> > > > > > > > >>>>> To post to this group, send email to >> > > > > > > > >>>>> [email protected]. >> > > > > > > > >>>>> To unsubscribe from this group, send email to >> > > > > > > > >>>>> >> > > > > > > > >>>>> [email protected]<fluent-nhibernate%2bunsubscr[email protected]> >> > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > >>>>> . >> > > > > > > > >>>>> For more options, visit this group at >> > > > > > > > >>>>>http://groups.google.com/group/fluent-nhibernate?hl=en. >> > >> > > > > > > > >>>> -- >> > > > > > > > >>>> - Hudson >> > > > > > > > >>>>http://www.bestguesstheory.com >> > > > > > > > >>>>http://twitter.com/HudsonAkridge >> > >> > > > > > > > >>>> -- >> > > > > > > > >>>> You received this message because you are subscribed to >> > > > > > > > >>>> the >> > > > > Google >> > > > > > > > >>>> Groups "Fluent NHibernate" group. >> > > > > > > > >>>> To post to this group, send email to >> > > > > > > [email protected] >> > > > > > > > >>>> . >> > > > > > > > >>>> To unsubscribe from this group, send email to >> > > > > > > > >>>> >> > > > > > > > >>>> [email protected]<fluent-nhibernate%2bunsubscr[email protected]> >> > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > >>>> . >> > > > > > > > >>>> For more options, visit this group at >> > > > > > > > >>>>http://groups.google.com/group/fluent-nhibernate?hl=en. >> > >> > > > > > > > >>> -- >> > > > > > > > >>> You received this message because you are subscribed to >> > > > > > > > >>> the >> > > > > Google >> > > > > > > Groups >> > > > > > > > >>> "Fluent NHibernate" group. >> > > > > > > > >>> To post to this group, send email to >> > > > > > > [email protected]. >> > > > > > > > >>> To unsubscribe from this group, send email to >> > > > > > > > >>> >> > > > > > > > >>> [email protected]<fluent-nhibernate%2bunsubscr[email protected]> >> > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > >>> . >> > > > > > > > >>> For more options, visit this group at >> > > > > > > > >>>http://groups.google.com/group/fluent-nhibernate?hl=en. >> > >> > > > > > > > >> -- >> > > > > > > > >> - Hudson >> > > > > > > > >>http://www.bestguesstheory.com >> > > > > > > > >>http://twitter.com/HudsonAkridge >> > >> > > > > > > > > -- >> > > > > > > > > - Hudson >> > > > > > > > >http://www.bestguesstheory.com >> > > > > > > > >http://twitter.com/HudsonAkridge >> > >> > > > > > > > > -- >> > > > > > > > > You received this message because you are subscribed to >> > > > > > > > > the >> > > Google >> > > > > > > Groups >> > > > > > > > > "Fluent NHibernate" group. >> > > > > > > > > To post to this group, send email to >> > > > > > > [email protected]. >> > > > > > > > > To unsubscribe from this group, send email to >> > > > > > > > > >> > > > > > > > > [email protected]<fluent-nhibernate%2bunsubscr[email protected]> >> > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > <fluent-nhibernate%2bunsubscr[email protected]> >> > > > > > > > > . >> > > > > > > > > For more options, visit this group >> > >> > ... >> > >> > read more »- Hide quoted text - >> > >> > - Show quoted text - >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Fluent NHibernate" 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/fluent-nhibernate?hl=en. >> >> >> > > > -- > You received this message because you are subscribed to the Google Groups > "Fluent NHibernate" 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/fluent-nhibernate?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en.
