getting hibernate setup