Created https://nhibernate.jira.com/browse/NH-3405. The problem is with 3.3.2 and 3.3.3CR1.
RP On Wednesday, February 20, 2013 10:00:01 AM UTC, Ricardo Peres wrote: > > The problem is with the wrapresultsets configuration setting: if I set it > to true on NH 3.3.1, it won't load the XML into the XDocument, if it is not > set, everything works fine! > On trunk, this problem does not happen, with any value of wrapresultsets. > > cfg.SetProperty(NHibernate.Cfg.Environment.WrapResultSets, Boolean.TrueString) > > > I will create a test case and submit it ASAP. > > RP > > On Tuesday, February 19, 2013 11:03:36 PM UTC, Ricardo Peres wrote: >> >> By the way, with the trunk code there is no problem. Same configuration. >> >> RP >> >> >> On Tuesday, February 19, 2013 10:46:38 PM UTC, Ricardo Peres wrote: >>> >>> Hello, >>> >>> I'm having trouble loading an entity with an XML column from SQL Server. >>> Saving works perfectly (schema is created by NHibernate), but loading >>> does not: "Could not cast the value in field Data2_0_ of type String to the >>> Type XDocType. Please check to make sure that the mapping is correct and >>> that your DataProvider supports this Data Type.". The column is created as >>> XML. >>> This is with NHibernate 3.3.1 from Nuget. Column is mapped as XDocument >>> with type XDocType. >>> Anyone having problems? Am I missing something? >>> >>> Thanks! >>> >>> RP >>> >> -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
