title: hibernate.ogm.datastore.create_database not working for MongoDB
body: <p>I am trying a simple Mongo DB and Hibernate OGM example. Here is my <code>persistence.xml</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"&gt;
    &lt;persistence-unit name="mongo-ogm" transaction-type="RESOURCE_LOCAL"&gt;
    &lt;provider&gt;org.hibernate.ogm.jpa.HibernateOgmPersistence&lt;/provider&gt;
      &lt;class&gt;com.test.Employee&lt;/class&gt;
      &lt;properties&gt;
        &lt;!-- &lt;property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossStandAloneJtaPlatform"/&gt; --&gt;
        &lt;property name="hibernate.ogm.datastore.provider" value="mongodb"/&gt;
        &lt;property name="hibernate.ogm.datastore.database" value="mongotest"/&gt;
        &lt;property name="hibernate.ogm.datastore.create_database" value="true"/&gt;
        &lt;property name="hibernate.ogm.datastore.host" value="mymongo"/&gt;
        &lt;property name="hibernate.ogm.datastore.port" value="1234"/&gt;
      &lt;/properties&gt;
    &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  </code></pre>
  
  <p>In the logs, I see</p>
  
  <p><code>INFO: OGM001206: Mongo database named [mongotest] is not defined. Creating it!</code></p>
  
  <p>I expect that the database <code>mongotest</code> should be created in Mongo DB after the application boots up.. but it does not show up when I execute <code>show dbs</code> in Mongo. Also, my JPA based create (<code>em.persist</code>) does not throw any errors - I am not sure what's happening behind the scenes. This is fat JAR based setup (not a Java EE WAR)</p>