Here are the examples of the java api org.hibernate.CacheMode.values() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
16
Source : CacheModeConverter.java
with GNU General Public License v2.0
from lamsfoundation
with GNU General Public License v2.0
from lamsfoundation
public static CacheMode fromXml(String name) {
for (CacheMode mode : CacheMode.values()) {
if (mode.name().equalsIgnoreCase(name)) {
return mode;
}
}
return CacheMode.NORMAL;
}