Thanks for the info and steps, looks like I'll be buying a copy of
NHProf :)
Cheers
Ollie
On 11 Jan, 19:54, Hudson Akridge wrote:
> In order to use cached queries you need to perform the following:
> 1.) Enable query caching in the hibernate.config (which it appears you have
> do
Thanks for the help
Ollie
On 11 Jan, 12:14, Paul Batum wrote:
> Nothing jumps out at me as wrong, but then again I've never used the
> query cache with FNH. If I find the time I'll try to set up a demo
> solution using query caching and investigate if I can't get it t
reeLetter);
Map(x => x.Name);
}
Cheers
Ollie
On Jan 10, 9:03 pm, Ollie wrote:
> This is really a question for 'Paul' as it appears James & Hudson
> spend to long playing CS to know anything about L2 caching in FNH ;)
>
> I've managed to get L
heable(true).SetFetchSize(1000);
Have I missed something from the configuration?
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 fluent-nhibern...@googlegroups.com.
To un
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 wrote:
> Well I'll be. Nice find. Looks like Paul's been busy being awesome.
>
>
>
> On Fri, Jan 8, 2010 at 11:00 AM
entMappings.AddFromAssemblyOf())
.ExposeConfiguration(c =>
{
c.EventListeners.PostLoadEventListeners = new IPostLoadEventListener[]
{new TestPostLoadListener()};
})
.BuildSe
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, 20
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 wrote:
> Dude, I hereby ban you from FNH.
&g
can do what
> you please.
>
>
>
> On Thu, Jan 7, 2010 at 2:08 PM, Ollie wrote:
> > Can I configure the L2 cache from FNH?
>
> > Cheers
>
> > Ollie
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > &
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 fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email
DOH!
Just realised I don't need the 'Inverse' to be set...
Ollie
On 19 Oct, 10:37, Ollie wrote:
> I've got a self referencing relationship on an entity - a Resource
> entity has a set of a 'aliases' which are also Resource entities, a
> Resource can h
.Cascade.All()
.Inverse()
.ParentKeyColumn("ResourceId")
.ChildKeyColumn("AliasId")
.Table("ResourceAliases");
}
}
Thanks in advance
Ollie
--~--~-~--~~~---~--~~
You r
Thanks for all the help
Beer is on me!
On Oct 15, 4:59 pm, Hudson Akridge wrote:
> gotcha :) glad it's working for you now
>
>
>
>
>
> On Thu, Oct 15, 2009 at 10:58 AM, Ollie wrote:
>
> > It's not the mapping, it's one of the entities - DOH!
>
It's not the mapping, it's one of the entities - DOH!
The entity was copying the contents out of the collection as opposed
to assigning the collection to the internal variable when the set
property was being called.
Thanks for the help
Ollie
On 15 Oct, 16:53, Hudson Akridge wr
})
.BuildSessionFactory();
return new UnitOfWork(sessionFactory);
}
Thanks for the continued help ;)
Ollie
On 15 Oct, 16:15, Hudson Akridge wrote:
> Looks good to me, Can you provide a very simple case showing how you use
> that mapping in a session?
c FileMap()
{
Table("Files");
Not.LazyLoad();
Id(x => x.Id);
HasManyToMany(x => x.Resources)
.Cascade.All()
.ParentKeyColumn("FileId")
.ChildKeyColumn("ResourceId")
Why would the following mappings fail to save but load perfectly fine?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
Why would the following mappings fail to save but load perfectly fine?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
RelatedAccountId is just another AccountId in the self referencing
join table
I can get the mapping file to load but not save...
Thanks
Ollie
On Oct 14, 6:04 pm, Hudson Akridge wrote:
> How is RelatedAccountId being populated? Typically a MTM has a resulting MTM
> on the other side.
.Cascade.All();
}
}
When I save an Account entity the RelatedAccounts collection is not
being persisted into the RelatedAccounts table etc...
Can anyone explain what I'm doing wrong?
Cheers
Ollie
--~--~-~--~~~---~--~~
Y
.Database
> (MsSqlConfiguration.MsSql2005.ConnectionString(c =>
> c.FromConnectionStringWithKey("")).ShowSql())
> .Mappings(m =>
> m.FluentMappings.AddFromAssemblyOf())
> .BuildSessionFactory();
>
> On Oct 14, 10:50 am,
ise it throws an exception because it
can't find the NH config file - I thought the point of fluent NH was
to get ride of config file...
Cheers
Ollie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Fluent
I've just updated to the lastest build (1.0.0.593) and when I compile
'WithTable' is not recognised in the mapping file.
How do I resolve this?
Cheers
Ollie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
23 matches
Mail list logo