sqlfunction.java

来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 23 行

JAVA
23
字号
//$Id: SQLFunction.java,v 1.1.2.1 2003/09/27 10:38:15 oneovthafew Exp $package net.sf.hibernate.dialect;import net.sf.hibernate.QueryException;import net.sf.hibernate.engine.Mapping;import net.sf.hibernate.type.Type;/** * Provides support routines for the HQL functions as used * in the various SQL Dialects *  * Provides an interface for supporting various HQL functions that are * translated to SQL. The Dialect and its sub-classes use this interface to * provide details required for processing of the function. *  * @author David Channon */public interface SQLFunction {	public Type getReturnType(Type columnType, Mapping mapping) throws QueryException;	public boolean hasArguments();	public boolean hasParenthesesIfNoArguments();}

⌨️ 快捷键说明

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