title: The type LocalSessionFactoryBean is deprecated
body: <p>I am using  spring-boot 1.4.2 for my simple project.When i insert LocalSessionFactoryBean to the database configuration class then it show "The type LocalSessionFactoryBean is deprecated".Is this spring-boot version problem.I'm tried to find that.But i couldn't find clear answer for this.Please help me.
  <img src="https://i.stack.imgur.com/zzhOf.png" alt="enter image description here"></p>