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