All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ibatis.persist.impl.function.AbsFunction Maven / Gradle / Ivy

Go to download

The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.

The newest version!
package org.ibatis.persist.impl.function;

import org.ibatis.persist.criteria.Expression;

import org.ibatis.persist.impl.CriteriaBuilderImpl;

/**
 * Models the ANSI SQL ABS function.
 */
@SuppressWarnings("unchecked")
public class AbsFunction
		extends ParameterizedFunctionExpression {
	public static final String NAME = "abs";

	public AbsFunction(CriteriaBuilderImpl criteriaBuilder, Expression expression) {
		super( criteriaBuilder, expression.getJavaType(), NAME, expression );
	}

	@Override
	protected boolean isStandardJpaFunction() {
		return true;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy