Was getting strange error ' No Persister for System.String' when doing HQL query using a parameter.
Turned out it was because I was using SetEntity to assign the parameter value instead of SetString
All because of cutting and pasting!
This blog is a record of some development issues I have faced. There may be something of use!