Modified the libraries for hibernate