Unfortunately the poor design of Properties extends well beyond just this. Properties can in fact hold non-String keys and values which Hibernate also supports in many places. So using getProperty instead of get will not work.