Code changes for integrating Hibernate and spring annotations.