I am using a similar implementation as TrimString, so that is
reassuring. Also, I was unaware of the typedef markup, that will be
very handy.

Thanks for the response,
-David

On Tue, Apr 28, 2009 at 4:01 PM, Fabio Maulo <[email protected]> wrote:
> No problem for performance if the UserType is similar to this
> http://code.google.com/p/unhaddins/source/browse/trunk/uNhAddIns/uNhAddIns/UserTypes/TrimString.cs
> consideration: see <typedef>
> http://nhforge.org/blogs/nhibernate/archive/2009/02/22/encrypting-password-or-other-strings-in-nhibernate.aspx
>
> 2009/4/28 David Henry <[email protected]>
>>
>> I am going through creating some entity mappings against an Oracle
>> Database and it seems like I will need to handle an issue that Oracle
>> sees empty string as null. Without changing the schema to accept null
>> values for these columns (legacy schema which other processes depend
>> on), I have defined a UserType that will change empty string to a one
>> whitespace value, which Oracle then interprets as an empty string.
>>
>> Since I am most likely going to need have this UserType defined for
>> every string property on every entity, I am wondering what the
>> performance considerations are, and if there are any other ideas?
>>
>> Thanks,
>> David
>>
>>
>
>
>
> --
> 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