Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--
 ~ Hibernate OGM, Domain model persistence for NoSQL datastores
 ~
 ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later
 ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  -->
<persistence 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"
             version="2.0">
    <persistence-unit name="options" transaction-type="RESOURCE_LOCAL">
        <provider>org.hibernate.ogm.jpa.HibernateOgmPersistence</provider>
        <properties>
            <property name="hibernate.search.lucene_version" value="LUCENE_CURRENT"/>
            <property name="hibernate.ogm.datastore.provider" value="org.hibernate.ogm.test.options.mapping.model.SampleDatastoreProvider"/>
            <property name="hibernate.ogm.option.configurator" value="org.hibernate.ogm.test.options.mapping.model.SampleOptionConfigurator"/>
        </properties>
    </persistence-unit>
</persistence>
New to GrepCode? Check out our FAQ X