All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.persistence.CacheRetrieveMode Maven / Gradle / Ivy

There is a newer version: 1.0.1.Final
Show newest version
// $Id: Cache.java 16130 2009-03-10 14:28:07Z hardy.ferentschik $
// EJB3 Specification Copyright 2004-2009 Sun Microsystems, Inc.
package javax.persistence;

/**
 * Used as the value of the
 * javax.persistence.cache.retrieveMode property to
 * specify the behavior when data is retrieved by the
 * find methods and by queries.
 *
 * @since Java Persistence 2.0
 */
public enum CacheRetrieveMode {

    /**
     * Read entity data from the cache: this is
     * the default behavior.
     */
    USE,

    /**
     * Bypass the cache: get data directly from
     * the database.
     */
    BYPASS
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy