title: Switching from version 4.3.11.Final to 5.0.1.Final causes compilation error
body: <p>I am trying to upgrade my Hibernate version from</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
      &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
      &lt;version&gt;4.3.11.Final&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>to</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
      &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
      &lt;version&gt;5.0.1.Final&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>Unfortunately by compiling I get the following error.</p>
  <blockquote>
  <p>TestDao.java:[5,25] cannot find symbol</p>
  <p>[ERROR] symbol:   class Transactional</p>
  <p>[ERROR] location: package javax.transaction</p>
  </blockquote>
  <p>I have been struggling with it for over an hour now.</p>
  <p>I have tried adding package <code>spring-tx</code> but it did not help.</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
      &lt;version&gt;4.2.1.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>Did anyone face a similar issue?</p>