Initialize lib for hibernate