views:

224

answers:

0

I have columns in my Oracle db that I use a TrimmedStringUserType for to trim text from char(x) columns.

The db has natural keys in many tables, so I'm using Assigned Ids. Many of these are char(x) columns. How, using Fluent NHibernate (or even in the xml mapping) would I use this usertype to ensure that the Ids are trimmed?