Update Collection.java

Hibernate config