public void setResultType(Class cls) { try { _query.setResultType(cls); } catch (RuntimeException re) { throw translate(re); } }
public void setResultType(Class cls) { try { _query.setResultType(cls); } catch (RuntimeException re) { throw translate(re); } }
public void setResultType(Class cls) { try { _query.setResultType(cls); } catch (RuntimeException re) { throw translate(re); } }
public void setResultType(Class cls) { try { _query.setResultType(cls); } catch (RuntimeException re) { throw translate(re); } }
public void setResultType(Class cls) { try { _query.setResultType(cls); } catch (RuntimeException re) { throw translate(re); } }
/** * Set query template information into the given concrete * query instance. However, the language, query string, and * candidate class are assumed to be declared in the query * instantiation, and hints are not transferred. */ public void setInto(Query query) { if (_candidate != null) query.setCandidateType(_candidate, true); if (!StringUtils.isEmpty(_query)) query.setQuery(_query); if (_res != null) query.setResultType(_res); if (_readOnly != null) query.setReadOnly(_readOnly.booleanValue()); if (_resultSetMappingName != null) query.setResultMapping(null, _resultSetMappingName); }
/** * Set query template information into the given concrete * query instance. However, the language, query string, and * candidate class are assumed to be declared in the query * instantiation, and hints are not transferred. */ public void setInto(Query query) { if (_candidate != null) query.setCandidateType(_candidate, true); if (!StringUtils.isEmpty(_query)) query.setQuery(_query); if (_res != null) query.setResultType(_res); if (_readOnly != null) query.setReadOnly(_readOnly.booleanValue()); if (_resultSetMappingName != null) query.setResultMapping(null, _resultSetMappingName); }
/** * Set query template information into the given concrete * query instance. However, the language, query string, and * candidate class are assumed to be declared in the query * instantiation, and hints are not transferred. */ public void setInto(Query query) { if (_candidate != null) query.setCandidateType(_candidate, true); if (!StringUtils.isEmpty(_query)) query.setQuery(_query); if (_res != null) query.setResultType(_res); if (_readOnly != null) query.setReadOnly(_readOnly.booleanValue()); if (_resultSetMappingName != null) query.setResultMapping(null, _resultSetMappingName); }
/** * Set query template information into the given concrete * query instance. However, the language, query string, and * candidate class are assumed to be declared in the query * instantiation, and hints are not transferred. */ public void setInto(Query query) { if (_candidate != null) query.setCandidateType(_candidate, true); if (!StringUtil.isEmpty(_query)) query.setQuery(_query); if (_res != null) query.setResultType(_res); if (_readOnly != null) query.setReadOnly(_readOnly.booleanValue()); if (_resultSetMappingName != null) query.setResultMapping(null, _resultSetMappingName); }
/** * Set query template information into the given concrete * query instance. However, the language, query string, and * candidate class are assumed to be declared in the query * instantiation, and hints are not transferred. */ public void setInto(Query query) { if (_candidate != null) query.setCandidateType(_candidate, true); if (!StringUtil.isEmpty(_query)) query.setQuery(_query); if (_res != null) query.setResultType(_res); if (_readOnly != null) query.setReadOnly(_readOnly.booleanValue()); if (_resultSetMappingName != null) query.setResultMapping(null, _resultSetMappingName); }