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

org.hibernate.dialect.function.ClassicCountFunction Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show newest version
/**
 * 
 */
package org.hibernate.dialect.function;

import org.hibernate.Hibernate;
import org.hibernate.engine.Mapping;
import org.hibernate.type.Type;


/**
 * Classic COUNT sqlfunction that return types as it was done in Hibernate 3.1 
 * 
 * @author Max Rydahl Andersen
 *
 */
public class ClassicCountFunction extends StandardSQLFunction {
	public ClassicCountFunction() {
		super( "count" );
	}

	public Type getReturnType(Type columnType, Mapping mapping) {
		return Hibernate.INTEGER;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy