Best code examples for Hibernate ORM TransactionalDataRegion class (org.hibernate.cache.spi.TransactionalDataRegion)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM TransactionalDataRegion class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM TransactionalDataRegion examples from Open Source projects
This code example shows how to use the following methods: getCacheDataDescription
				getCacheTestSupport() 
		); 
		TransactionalDataRegion region = (TransactionalDataRegion) createRegion(
				regionFactory, "test/test", cfg.getProperties(), getCacheDataDescription()
		); 
		CacheDataDescription cdd = region.getCacheDataDescription();
		assertNotNull( cdd );
		CacheDataDescription expected = getCacheDataDescription();
		assertEquals( expected.isMutable(), cdd.isMutable() );
		assertEquals( expected.isVersioned(), cdd.isVersioned() );
		assertEquals( expected.getVersionComparator(), cdd.getVersionComparator() );
	} 
} 
Full Snippet Info
4
CodeRank
See Code Examples for Hibernate ORM TransactionalDataRegion Methods: