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