I'm almost sure i have seen example of doing this in Fabio's blog, look
there.

In any case injecting a service in an entity may be a very bad idea...

Gustavo.

On Tue, Jan 5, 2010 at 9:36 PM, Emanuele DelBono
<[email protected]>wrote:

> hi!
> Like all you knows NH need that a domain object have a default constructor.
> Do you know which way I should follow to be able to inject a service
> in a domain object that is mapped with NH?
>
> I give a look at all the listeners but I didn't find one that
> intercept the object creation. Maybe should I use an Interceptor? Is
> it possible with that?
>
> Thanks.
>
> ema
> http://blog.codiceplastico.com
>
> --
> 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]<nhusers%[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.

Reply via email to