title: JPA/Hibernate OneToMany & ManyToOne annotations
body: <p>I'm writing code that looks like Google Latitude (locate a user). 
  I'm under tomcat 6.0.33, using jpa/hibernate, and easybeans 1.1</p>
  
  <p>They work independently, but when I try to link them it fails:</p>
  
  <pre><code>Caused by: javax.persistence.PersistenceException: [PersistenceUnit: entity] Unable to build EntityManagerFactory
  Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
  </code></pre>
  
  <p>Here is the code:</p>
  
  <pre><code>public class Personne{
   @ManyToOne(fetch=FetchType.EAGER, cascade={ CascadeType.PERSIST,CascadeType.MERGE })
   public Personne getOwner() {
     return owner;
    }
  }
  
  public class MaPosition{
   @OneToMany
   public List&lt;Personne&gt; getFriends() {
     return friends;
    }
  }
  </code></pre>
  
  <p>Thanks for your help ;)</p>