类org.hibernate.type.BigDecimalType源码实例Demo

下面列出了怎么用org.hibernate.type.BigDecimalType的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: jadira   文件: AbstractBigDecimalColumnMapper.java
@Override
public final BigDecimalType getHibernateType() {
	return StandardBasicTypes.BIG_DECIMAL;
}
 
源代码2 项目: lams   文件: Query.java
/**
 * Bind a positional BigDecimal-valued parameter.
 *
 * @param position The parameter position
 * @param val The bind value
 *
 * @return {@code this}, for method chaining
 *
 * @deprecated (since 5.2) use {@link #setParameter(int, Object)} or {@link #setParameter(int, Object, Type)}
 * instead
 */
@Deprecated
@SuppressWarnings("unchecked")
default Query<R> setBigDecimal(int position, BigDecimal val) {
	setParameter( position, val, BigDecimalType.INSTANCE );
	return this;
}
 
源代码3 项目: lams   文件: Query.java
/**
 * Bind a named BigDecimal-valued parameter.
 *
 * @param name The parameter name
 * @param val The bind value
 *
 * @return {@code this}, for method chaining
 * @deprecated (since 5.2) use {@link #setParameter(int, Object)} or {@link #setParameter(int, Object, Type)}
 * instead
 */
@Deprecated
@SuppressWarnings("unchecked")
default Query<R> setBigDecimal(String name, BigDecimal val) {
	setParameter( name, val, BigDecimalType.INSTANCE );
	return this;
}
 
源代码4 项目: lams   文件: Query.java
/**
 * Bind a positional BigDecimal-valued parameter.
 *
 * @param position The parameter position
 * @param val The bind value
 *
 * @return {@code this}, for method chaining
 *
 * @deprecated (since 5.2) use {@link #setParameter(int, Object)} or {@link #setParameter(int, Object, Type)}
 * instead
 */
@Deprecated
@SuppressWarnings("unchecked")
default Query<R> setBigDecimal(int position, BigDecimal val) {
	setParameter( position, val, BigDecimalType.INSTANCE );
	return this;
}
 
源代码5 项目: lams   文件: Query.java
/**
 * Bind a named BigDecimal-valued parameter.
 *
 * @param name The parameter name
 * @param val The bind value
 *
 * @return {@code this}, for method chaining
 * @deprecated (since 5.2) use {@link #setParameter(String, Object)} or {@link #setParameter(String, Object, Type)}
 * instead
 */
@Deprecated
@SuppressWarnings("unchecked")
default Query<R> setBigDecimal(String name, BigDecimal val) {
	setParameter( name, val, BigDecimalType.INSTANCE );
	return this;
}
 
 类所在包
 类方法
 同包方法