title: Hibernate 3.6.10 NoSuchMethodError
body: <p>I'm having the following issue with my hibernate 3.6.10 project:</p>
  
  <p>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testSessionFactory' defined in class path resource [db.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z</p>
  
  <p>Reading some of the issues here on stack overflow, it said I was using the wrong persistence API. So I downloaded the matching hibernate (I've been using the Spring deployment) and copied out the hibernate-jpa-2.0-api-1.0.1.Final.jar which comes with the hibernate distrib, only to get the self-same message.</p>
  
  <p>Is this telling me that OneToMany is not supported by Hibernate 3.6.10?</p>