Please see here: http://nhforge.org/doc/nh/en/index.html#mapping-types
I'd try to make a backing private property or field of type Byte[] persisted as BinaryBlob. If you don't want that for design reasons, you could define a IUserType for the PortletConfiguration class. Even better would be a nested class as if shown here: http://www.castleproject.org/activerecord/documentation/trunk/usersguide/nested.html -Markus 2009/3/18 klawry <kla...@visient.com> > > Hi Hammett, > > Thanks for the reply. Is there any way to manually set the property > or the instance of the class as "not dirty"? Aside from that, the > only other suggestion I've seen that could work is to open a second > NHibernate session that is set to not persist changes. Or maybe I > could inherit from my ActiveRecord entity and mark the child as read- > only and query the new entity instead. From a design standpoint, both > of these thoughts make me cringe, so I'm open to any other ideas. > > Thanks again, > Kevin > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---