Copart Interview Question

Design a singleton class. Many-to-one mapping in Hibernate