Java program to demonstrate configuration options for collections, including configuring primary keys with Hibernate