本文整理了Java中org.hibernate.Query.setShort
方法的一些代码示例,展示了Query.setShort
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setShort
方法的具体详情如下:
包路径:org.hibernate.Query
类名称:Query
方法名:setShort
[英]Bind a positional short-valued parameter.
[中]绑定位置短值参数。
代码示例来源:origin: riotfamily/riot
public TypedQuery<T> setShort(String name, short val) {
query.setShort(name, val);
return this;
}
代码示例来源:origin: ezbz/projectx
@Override
public Query setShort(final int position, final short val) {
return query.setShort(position, val);
}
代码示例来源:origin: com.github.cafdataprocessing/corepolicy-hibernate
@Override
public Query setShort(int i, short i1) {
return query.setShort(i, i1);
}
代码示例来源:origin: com.github.cafdataprocessing/corepolicy-hibernate
@Override
public Query setShort(String s, short i) {
return query.setShort(s, i);
}
代码示例来源:origin: ezbz/projectx
@Override
public Query setShort(final String name, final short val) {
return query.setShort(name, val);
}
代码示例来源:origin: riotfamily/riot
public TypedQuery<T> setShort(int position, short val) {
query.setShort(position, val);
return this;
}
代码示例来源:origin: jpos/jPOS-EE
q.setLong ("journal", journal.getId());
q.setParameter ("credit", credit ? "Y" : "N");
q.setShort ("layer", layer);
if (equalDate)
q.setParameter ("date", start);
内容来源于网络,如有侵权,请联系作者删除!