database and hibernate properties init