Hi Baro,
to use OGM with MongoDB you need to add a persistence.xml to your project that looks something like this:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="primary">
<provider>org.hibernate.ogm.jpa.HibernateOgmPersistence</provider>
<properties>
<property name="hibernate.ogm.datastore.provider" value="mongodb"/>
<property name="hibernate.ogm.mongodb.host" value="127.0.0.1"/>
<property name="hibernate.ogm.mongodb.port" value="27018"/>
<property name="hibernate.ogm.mongodb.database" value="database_name"/>
</properties>
</persistence-unit>
</persistence>
The property "hibernate.ogm.datastore.provider" needs to be set to the value "mongodb".
This example is using some default configuration the are valid if your mongodb instance is on localhost and it is using the default port.
You have to change "database_name" with the name of the database you want to connect to.
I'm don't know how you can set up your IDE wizard to generate this kind of file but if you want to have MongoDB in the dropdow menu I would guess you need to download the MongoDB JDBC driver and configure a database connection.
I hope this can help, if you have other questions don't hesitate to ask.