Class SqmHqlNumericLiteral<N extends Number>

All Implemented Interfaces:
Expression<N>, Selection<N>, TupleElement<N>, Serializable, JpaCriteriaNode, JpaExpression<N>, JpaSelection<N>, JpaTupleElement<N>, SqmExpression<N>, SqmSelectableNode<N>, SqmExpressibleAccessor<N>, SqmNode, SqmTypedNode<N>, SqmVisitableNode

public class SqmHqlNumericLiteral<N extends Number> extends SqmLiteral<N>
Used to model numeric literals found in HQL queries.

Used instead of SqmLiteral which would require parsing the literal value to the specified number type to avoid loss of precision due to Float and Double being non-exact types.

Author:
Steve Ebersole
See Also: