title: DataNucleus, HBase, JDO: "A property named javax.jdo.PersistenceManagerFactoryClass must be specified"
body: <p>I'm getting an exception ("A property named javax.jdo.PersistenceManagerFactoryClass must be specified") when trying to follow the <a href="http://www.datanucleus.org/products/datanucleus/guides/jdo/tutorial_hbase.html" rel="nofollow">DataNucleus HBase tutorial</a>.</p>
  
  <p>My datanucleus.properties file (below) doesn't specify such a property, but then nor does the tutorial, and nor does the <a href="http://sourceforge.net/projects/datanucleus/files/datanucleus-samples/3.1/" rel="nofollow">DataNucleus HBase sample</a>.</p>
  
  <p>Edited after finding the 3.1 sample:</p>
  
  <p><strong>src/main/resources/datanucleus.properties</strong></p>
  
  <pre><code>javax.jdo.option.ConnectionURL=hbase:hx1:60010
  javax.jdo.option.Mapping=hbase
  
  datanucleus.metadata.validate=false
  datanucleus.autoCreateSchema=true
  datanucleus.validateTables=false
  datanucleus.validateConstraints=false
  </code></pre>
  
  <p><strong>src/main/java/hbase-site.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  
  &lt;configuration&gt; 
    &lt;property&gt;
      &lt;name&gt;hbase.zookeeper.quorum&lt;/name&gt;
      &lt;value&gt;hx1:2181&lt;/value&gt;
      &lt;description&gt;The host and port that the HBase master runs at.
      &lt;/description&gt;
    &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p><strong>src/main/com.business.model/package-hbase.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!DOCTYPE orm PUBLIC 
      "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN" 
      "http://java.sun.com/dtd/orm_2_0.dtd"&gt;
  &lt;orm&gt;
      &lt;package name="com.business.model"&gt;
          &lt;class name="Recommendation" table="Recommendations"&gt;
              &lt;field name="id" column="ID"/&gt;
              &lt;field name="documents" column="DOCUMENTS"/&gt;
          &lt;/class&gt;
  
          &lt;class name="Document"&gt;
              &lt;field name="id" column="ID"/&gt;
              &lt;field name="title" column="TITLE"/&gt;
          &lt;/class&gt;
      &lt;/package&gt;
  &lt;/orm&gt;
  </code></pre>
  
  <p>Any ideas what I'm missing? I'm new to JDO after having worked with JPA for a few years.</p>