Hi Fabio - thanks for your reply.

I'll I didn't know that you could use default values in the mapping
file. I'll give them a look.   :-)


Cheers,
Thomas




On 12 Maj, 16:01, Fabio Maulo <[email protected]> wrote:
> 2009/5/12 Thomas Koch <[email protected]>
>
>
>
> > I guess the alternative is to map the column in question to a private
> > property and then add this logic in the code instead.
>
> Possible.
> After that you can use a specific IUserType; more transparent and reusable
> solution.
>
> @Paco
> <column name="created_by" length="50" default="SYSTEM_USER"/>
> <column name="my_value" default="77"/>NH support default values.
>
> --
> 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