settings for hibernate