Also, what specifically are you asking to have happen. As it stands this works as expected/designed. HQL/Criteria queries perform polymorphic queries hence why class names work there (heck, from java.lang.Object works too!).