Hibernate3 support