Skip to content

Oracle NoSQL Configuration

xamry edited this page Jul 11, 2013 · 3 revisions

All you have to do is to define persistence unit in persistence.xml file as shown below:

      <persistence-unit name="oracle_nosql_pu">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="5000" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.client.oraclenosql.OracleNoSQLClientFactory" />
			<property name="kundera.keyspace" value="HR_Store" />
			<property name="kundera.dialect" value="kvstore" />
			<property name="kundera.client" value="kvstore" />
			<property name="kundera.cache.provider.class"
				value="com.impetus.kundera.cache.ehcache.EhCacheProvider" />
			<property name="kundera.cache.config.resource" value="/ehcache-test.xml" />       
			<property name="kundera.indexer.class"
			value="com.impetus.client.oraclenosql.index.OracleNoSQLInvertedIndexer" />
		</properties>
	</persistence-unit>

You may visit here for detailed description of each property.

Previous Home Next
Clone this wiki locally