remove uses of org.hibernate.mapping.ToOne