StoreConfiguration config = vehicleCache.getCacheConfiguration().persistence().stores().get(0);
assertTrue(config instanceof JpaStoreConfiguration);
JpaStoreConfiguration jpaConfig = (JpaStoreConfiguration) config;
assertEquals(1, jpaConfig.batchSize());
assertEquals(Vehicle.class, jpaConfig.entityClass());
assertEquals(PERSISTENCE_UNIT_NAME, jpaConfig.persistenceUnitName());
}
public void testXmlConfig60() throws IOException {
EmbeddedCacheManager cacheManager = new DefaultCacheManager("config/jpa-config-60.xml");