📄 standardsqlfunction.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 + -