Here, in a blog post in your blog, in your home page in www.nhforge.org, in
a wiki in www.nhforge.org

2009/8/24 Dawid <[email protected]>

>
> I haven't shared it yet, but it is based on bits and pieces of code &
> blog posts that I've put together.
>
> Where and or how can I share?
>
> On Aug 24, 8:05 am, Fabio Maulo <[email protected]> wrote:
> > where you have shared your code about the reflection optimizer using
> Unity ?
> >
> > 2009/8/23 Dawid <[email protected]>
> >
> >
> >
> >
> >
> > > Hi,
> >
> > > I've written some code to use Unity as a DI container inside
> > > NHibernate and all seemed to be well.
> >
> > > Today I tried to change a one-to-many mapping to a composite-element
> > > inside a bag and I now get an exception in
> > > NHibernate.Tuple.PocoInstantiator.Instantiate stating that the entity
> > > has no default constructor.
> >
> > > Looking at the code, this exception should only occur if the
> > > "optimizer" field is not set, but as I'm using my own reflection
> > > optimizer, this field should be set?
> >
> > > It would seem that because the entity is mapped as a "composite-
> > > element" i.s.o. a "one-to-many" the "optimization" did not happen?
> >
> > > Is the the expected behavior, or is there something that should do
> > > differently?
> >
> > > Thanks.
> > > D.
> >
> > --
> > Fabio Maulo
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to