Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<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
	https://raw.github.com/impetus-opensource/Kundera/Kundera-2.0.4/kundera-core/src/test/resources/META-INF/persistence_2_0.xsd"
	version="2.0">

	<persistence-unit name="kunderatest">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<!-- <jar-file>/home/impetus/perf_n.jar</jar-file> <jar-file>/home/impetus/perf.jar</jar-file> -->
		<class>com.impetus.kundera.entity.PersonnelDTO</class>
		<class>com.impetus.kundera.persistence.event.PersonEventDispatch</class>
		<class>com.impetus.kundera.persistence.event.AddressEntity</class>
		<class>com.impetus.kundera.persistence.event.AddressEntityWithList</class>
		<class>com.impetus.kundera.graph.Store</class>
		<class>com.impetus.kundera.graph.BillingCounter</class>
		<!-- <class>com.impetus.kundera.configure.CoreEntityAddressUni1To1</class> 
			<class>com.impetus.kundera.configure.CoreEntityAddressUni1ToM</class> <class>com.impetus.kundera.configure.CoreEntityAddressUniMTo1</class> 
			<class>com.impetus.kundera.configure.CoreEntityPersonUni1To1</class> <class>com.impetus.kundera.configure.CoreEntityPersonUni1ToM</class> 
			<class>com.impetus.kundera.configure.CoreEntityPersionUniMTo1</class> -->
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_1_1_1_1</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_1_1_1_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_1_1_M_1</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_1_M_1_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_1_M_M_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_M_1_1_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_M_M_1_1</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerUni_M_M_M_M</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_1_1_1_1</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_1_1_1_M</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_1_1_M_1</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_1_M_1_M</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_1_M_M_M</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_M_1_1_M</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_M_M_1_1</class>
		<class>com.impetus.kundera.entity.album.AlbumUni_M_M_M_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_1_1_1_1</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_1_1_1_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_1_1_M_1</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_1_M_1_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_1_M_M_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_M_1_1_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_M_M_1_1</class>
		<class>com.impetus.kundera.entity.photo.PhotoUni_M_M_M_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_1_1_1_1</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_1_1_1_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_1_M_1_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_1_M_M_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_M_1_1_M</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_M_M_1_1</class>
		<class>com.impetus.kundera.entity.photographer.PhotographerBi_M_M_M_M</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_1_1_1_1</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_1_1_1_M</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_1_M_1_M</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_1_M_M_M</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_M_1_1_M</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_M_M_1_1</class>
		<class>com.impetus.kundera.entity.album.AlbumBi_M_M_M_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_1_1_1_1</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_1_1_1_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_1_M_1_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_1_M_M_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_M_1_1_M</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_M_M_1_1</class>
		<class>com.impetus.kundera.entity.photo.PhotoBi_M_M_M_M</class>
		<class>com.impetus.kundera.metadata.entities.SampleEntity</class>
		<!-- <class>com.impetus.kundera.metadata.entities.bi.AssociationBiEntity</class> 
			<class>com.impetus.kundera.metadata.entities.bi.OToOOwnerBiEntity</class> -->
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaTest" />
			<property name="kundera.dialect" value="rdbms" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<property name="kundera.cache.provider.class"
				value="com.impetus.kundera.cache.ehcache.EhCacheProvider" />
			<property name="kundera.cache.config.resource" value="/ehcache-test.xml" />
		</properties>
	</persistence-unit>

	<persistence-unit name="PropertyTest">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaXmlTest" />
			<property name="kundera.dialect" value="cassandra" />
			<property name="kundera.ddl.auto.prepare" value="create" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<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.client.property" value="kunderaTest.xml" />
		</properties>
	</persistence-unit>

	<persistence-unit name="PropertyTestwithvaraiable">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaXmlTest" />
			<property name="kundera.dialect" value="cassandra" />
			<property name="kundera.ddl.auto.prepare" value="create" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<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.client.property"
				value="${HOME}/Desktop/kunderaExternalProperties.xml" />
		</properties>
	</persistence-unit>

	<persistence-unit name="PropertyTestwithabsolutepath">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaXmlTest" />
			<property name="kundera.dialect" value="cassandra" />
			<property name="kundera.ddl.auto.prepare" value="create" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<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.client.property"
				value="/home/impadmin/Desktop/kunderaExternalProperties.xml" />
		</properties>
	</persistence-unit>

	<persistence-unit name="metaDataTest">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.persistence.event.PersonEventDispatch</class>
		<class>com.impetus.kundera.metadata.model.Employe</class>
		<class>com.impetus.kundera.metadata.model.KunderaUser</class>
		<class>com.impetus.kundera.metadata.model.TweetKundera</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaMetaDataTest" />
			<property name="kundera.dialect" value="cassandra" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<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.client.property" value="kunderaTest.xml" />
			<property name="index.home.dir" value="./lucene" />
		</properties>
	</persistence-unit>

	<persistence-unit name="GeneratedValue">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdDefault</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdStrategyAuto</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdStrategyIdentity</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdStrategySequence</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdStrategyTable</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdWithSequenceGenerator</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdWithTableGenerator</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdWithOutSequenceGenerator</class>
		<class>com.impetus.kundera.metadata.validator.GeneratedIdWithOutTableGenerator</class>
		<!-- <class>com.impetus.kundera.metadata.validator.FTEmployee</class> <class>com.impetus.kundera.metadata.validator.PartTimeEmployee</class> -->
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaTest" />
			<property name="kundera.dialect" value="cassandra" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<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.client.property" value="kunderaTest.xml" />
		</properties>
	</persistence-unit>

	<persistence-unit name="patest">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.query.Person</class>
		<class>com.impetus.kundera.polyglot.entities.PersonU11FK</class>
		<class>com.impetus.kundera.polyglot.entities.AddressU11FK</class>
		<class>com.impetus.kundera.polyglot.entities.PersonB11FK</class>
		<class>com.impetus.kundera.polyglot.entities.AddressB11FK</class>
		<class>com.impetus.kundera.polyglot.entities.PersonU11PK</class>
		<class>com.impetus.kundera.polyglot.entities.AddressU11PK</class>
		<class>com.impetus.kundera.polyglot.entities.PersonB11PK</class>
		<class>com.impetus.kundera.polyglot.entities.AddressB11PK</class>
		<class>com.impetus.kundera.polyglot.entities.PersonU1M</class>
		<class>com.impetus.kundera.polyglot.entities.AddressU1M</class>
		<class>com.impetus.kundera.polyglot.entities.PersonB1M</class>
		<class>com.impetus.kundera.polyglot.entities.AddressB1M</class>
		<class>com.impetus.kundera.polyglot.entities.PersonUM1</class>
		<class>com.impetus.kundera.polyglot.entities.AddressUM1</class>
		<class>com.impetus.kundera.polyglot.entities.PersonBM1</class>
		<class>com.impetus.kundera.polyglot.entities.AddressBM1</class>
		<class>com.impetus.kundera.polyglot.entities.PersonUMM</class>
		<class>com.impetus.kundera.polyglot.entities.PersonUMMByMap</class>
		<class>com.impetus.kundera.polyglot.entities.AddressUMM</class>
		<class>com.impetus.kundera.polyglot.entities.PersonBMM</class>
		<class>com.impetus.kundera.polyglot.entities.AddressBMM</class>
		<class>com.impetus.kundera.metadata.entities.SingularEntityEmbeddable</class>
		<class>com.impetus.kundera.metadata.entities.Article</class>
		<class>com.impetus.kundera.query.PersonEntityNameAnnotation</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaTests" />
			<property name="kundera.dialect" value="rdbms" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<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="index.home.dir" value="./lucene" />
			<property name="kundera.batch.size" value="5" />
		</properties>
	</persistence-unit>

	<persistence-unit name="mappedsu">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.metadata.mappedsuperclass.Employee</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaTest" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
		</properties>
	</persistence-unit>

	<persistence-unit name="invalidmappedsu">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.metadata.mappedsuperclass.InvalidPersonEntity</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="KunderaTest" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
		</properties>
	</persistence-unit>


	<persistence-unit name="keyspace">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.metadata.entities.OToOOwnerEntity</class>
		<class>com.impetus.kundera.metadata.entities.AssociationEntity</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="testSchema" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
		</properties>
	</persistence-unit>

	<persistence-unit name="inheritanceTest">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.metadata.processor.Rectangle</class>
		<class>com.impetus.kundera.metadata.processor.Circle</class>
		<class>com.impetus.kundera.metadata.processor.Geometry</class>
		<class>com.impetus.kundera.metadata.processor.Shape</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="testSchema" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
		</properties>
	</persistence-unit>


	<persistence-unit name="ehacheTest">
		<provider>com.impetus.kundera.KunderaPersistence</provider>
		<class>com.impetus.kundera.entity.EhCacheEntity</class>
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="kundera.nodes" value="localhost" />
			<property name="kundera.port" value="9160" />
			<property name="kundera.keyspace" value="testSchema" />
			<property name="kundera.client.lookup.class"
				value="com.impetus.kundera.client.CoreTestClientFactory" />
			<property name="kundera.cache.provider.class"
				value="com.impetus.kundera.cache.ehcache.EhCacheProvider" />
			<property name="kundera.cache.config.resource" value="/ehcache-test.xml" />
		</properties>
	</persistence-unit>

</persistence>





New to GrepCode? Check out our FAQ X