These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Serialize Properties to XML rather than Binary
PostPosted: Mon Sep 24, 2007 4:26 pm 
Newbie

Joined: Sun Aug 20, 2006 8:09 pm
Posts: 8
Hi !
I have some nhibernate-mapped classes which contain some rather complex objects. This objects have no references to other db-objects. They simply contain data. So I mapped them as normal Properties.

All this data-classes have the attribute "Serializable" attached, so NHiberate is able to store them to the db. This is done using the Binary Serializer of .Net. My Question is now: Can I get NHibernate to use the XmlSerializer instead of the Binary one when storing this objects to db ??

Thanks,
Thomas


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.