IdBag in NHibernate

Monday, 16 July 2007

I’ve just wasted a few hours trying to get an idbag working, but it turns out that it it doesn’t work for identity columns.

I’d noticed the comment in the documentation that ‘native’ columns are not supported.  What I hadn’t realised what that ‘identity’ is a native column.

I wish they’d fix this.

CodeCampSA 2007 - More reflections

Tuesday, 10 July 2007

A few more things that have come to mind.

Don’t get me wrong, while I’ve listed things that I think could be improved, I did enjoy the weekend and got a lot out of it!

I've been twittered

Monday, 9 July 2007

I just discovered that I was twittered (tweeted?) at CodeCampSA.

CodeCampSA 2007 - Reflections

Monday, 9 July 2007

You can only have 65535 temporary files in a single directory

Monday, 9 July 2007

This limit caused us problems yesterday. For some reason, the temporary files weren’t getting deleted.

The first clue was that the temp directory contained exactly 65535 .tmp files. The corroborating clue was that the last .tmp file was named “uplFFFF.tmp” - FFFF would be 65535 in hex.

The .NET Framework mentions this limit for the GetTempFileName method, but curiously the corresponding unmanaged GetTempFileName API doesn’t (so I’ve submitted some Community Content to note this).