alkampfer on April 27th, 2007

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

admin on April 27th, 2007

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 section, Int32 linkId) {    39     40          IUnitOfWork UoW [...]

Continue reading about Test of blog publishing with Microsoft word 2007

alkampfer on April 26th, 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" [...]

Continue reading about Nhibernate bug?

alkampfer on April 24th, 2007

This is the first blog on word press, we switched the hosting from italy to IX web hosting that will give us more tools and the possibility to use a lot of database space for ours blog.
Alk.

Continue reading about First blog

admin on April 24th, 2007

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Continue reading about Hello world!