add resourses in hibernate