sqlfunction.java

来自「介绍了hibernate的入门有一些基本常用的事例」· Java 代码 · 共 26 行

JAVA
26
字号
//$Id: SQLFunction.java,v 1.1 2005/02/13 11:49:57 oneovthafew Exp $package org.hibernate.dialect.function;import java.util.List;import org.hibernate.QueryException;import org.hibernate.engine.Mapping;import org.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();	public String render(List args) throws QueryException;}

⌨️ 快捷键说明

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