GDS-1144: Fix HibernateProxy support for Hibernate < 3.5 in JMF