Example usage for javax.persistence CacheStoreMode BYPASS

List of usage examples for javax.persistence CacheStoreMode BYPASS

Introduction

In this page you can find the example usage for javax.persistence CacheStoreMode BYPASS.

Prototype

CacheStoreMode BYPASS

To view the source code for javax.persistence CacheStoreMode BYPASS.

Click Source Link

Document

Don't insert into cache.

Usage

From source file:org.syncope.core.persistence.dao.impl.AbstractDAOImpl.java

protected CacheStoreMode getCacheStoreMode() {
    return entityManager.getProperties().containsKey(CACHE_STORE_MODE)
            ? (CacheStoreMode) entityManager.getProperties().get(CACHE_STORE_MODE)
            : CacheStoreMode.BYPASS;
}