Here are the examples of the java api org.hibernate.FlushMode.interpretExternalSetting() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : QueryHintDefinition.java
with GNU General Public License v2.0
from lamsfoundation
with GNU General Public License v2.0
from lamsfoundation
public FlushMode getFlushMode(String query) {
String hitName = QueryHints.FLUSH_MODE;
String value = (String) hintsMap.get(hitName);
if (value == null) {
return null;
}
try {
return FlushMode.interpretExternalSetting(value);
} catch (MappingException e) {
throw new AnnotationException("Unknown FlushMode in hint: " + query + ":" + hitName, e);
}
}