org.hibernate.Query.setShort()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(192)

本文整理了Java中org.hibernate.Query.setShort方法的一些代码示例,展示了Query.setShort的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setShort方法的具体详情如下:
包路径:org.hibernate.Query
类名称:Query
方法名:setShort

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);

相关文章