Added c3p0 for hibernate in order to maintain stable connection.