⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 standardsqlfunction.java

📁 人力资源管理系统主要包括:人员管理、招聘管理、培训管理、奖惩管理和薪金管理五大管理模块。
💻 JAVA
字号:
//$Id: StandardSQLFunction.java,v 1.1.2.1 2003/09/27 10:38:15 oneovthafew Exp $package net.sf.hibernate.dialect;import net.sf.hibernate.engine.Mapping;import net.sf.hibernate.type.Type;/** * Provides a standard implementation that supports the majority of the HQL  * functions that are translated to SQL. The Dialect and its sub-classes use  * this class to provide details required for processing of the associated  * function. *  * @author David Channon */public class StandardSQLFunction implements SQLFunction {	private Type returnType = null;	public StandardSQLFunction() {	}	public StandardSQLFunction(Type typeValue) {		returnType = typeValue;	}		public Type getReturnType(Type columnType, Mapping mapping) {		if (returnType == null)			return columnType;		return returnType;			}	public boolean hasArguments() {		return true;	}	public boolean hasParenthesesIfNoArguments() {		return true;	}}	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -