24 August 2006

MSN Messenger doesn't like Hibernate code?

So I was in the middle of an IM conversation using MSN messenger when I pasted some java code which uses Hibernate's APIs when I got this error:

Message could not be sent because a connection error occurred


Weird... everything else I'd typed was fine. Subsequent messages were fine. Here is what I tried to send:

ScrollableResults scrollableResults = query.scroll();

Of course, silly me! MSN messenger doesn't let you send a message with the characters ".scr" in it. Thanks to Wikipedia for a full explanation.

No comments: