title: JBoss 5.1: Hibernate with JPA
body: <p>I've got two questions to ask regarding JBoss 5.1. We are in process of migrating from JBoss 4.2 to JBoss 5.1. </p>
  
  <p>We are also using Java 1.6 and JPA 2.0 with Hibernate 3.6 as the provider.</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Is it possible to use Hibernate 3.6+ with JBoss 5.1. If yes, then how?</li>
  <li>What about JPA 2.0? I know that JBoss 5.1 comes with JPA 1.0 compatibility. Can we use JPA2?</li>
  </ol>
  
  <p>And as we can not do any kind of configuration to the JBoss installation, all the fixes need to be done in our application only.</p>
  
  <p>Thanks in advance,
  JassB</p>