Today I Hitted this exception working with NHibernate, after consulting some posts on the net I discovered that this exception is raised when a detached object is reattached to a session with lock and the object has a one-to-many relation that was changed. The strange thing is that the same code works perfectly on a [...]
Continue reading about Reassociated object has dirty collection
This post is created using Microsoft word 2007. Let’s see if this makes blogging simpler. First of all some formatting bold italic. This is indented with tab. Some ordered item Another ordered item A bullet list Another element of the bullet list Some weird code in VB.NET     1 <AspNetHostingPermission(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal), _    2  AspNetHostingPermission(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal), _    3  ToolboxData(“<{0}:MultipleFieldsValidator runat=server></{0}:MultipleFieldsValidator>”)> _    4 Public Class MultipleControlsValidator    5    Inherits BaseValidator    6     7    <Browsable(False), _    8    EditorBrowsable(EditorBrowsableState.Never)> _    9    Private Shadows Property SetFocusOnError() As Boolean   10       Get   11          Return False   12       End Get   13       Set(ByVal value As Boolean)   14          Throw New NotSupportedException(“Cannot focus if we have more than one control to validate.”)   15       End Set   16    End Property Some in C#    38       Section [...]
Continue reading about Test of blog publishing with Microsoft word 2007
I replicated a bug in nhibernate. I have a simple mapping for a simple class <?xml version="1.0" encoding="utf-8" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="Ca1" assembly="Ca1" default-lazy="false" default-access="property"> <class name="Ca1.Cliente" table="Clienti" > <id name="Id" column="Id" type="int" unsaved-value="0"> <generator class="identity" /> </id> <property name="Nome" type="String" column="Nome" insert="true" update="true" /> <property name="Indirizzo" type="String" column="Indirizzo" not-null="false" insert="true" update="true" /> <property name="LocalizedData" type="string" [...]





