站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

NoArgSQLFunction (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.dialect
Class NoArgSQLFunction

java.lang.Object
  extended bynet.sf.hibernate.dialect.NoArgSQLFunction
All Implemented Interfaces:
SQLFunction

public class NoArgSQLFunction
extends Object
implements SQLFunction

Author:
Michi

Constructor Summary
NoArgSQLFunction(Type returnType)
           
NoArgSQLFunction(Type returnType, boolean hasParenthesesIfNoArguments)
           
 
Method Summary
 Type getReturnType(Type columnType, Mapping mapping)
           
 boolean hasArguments()
           
 boolean hasParenthesesIfNoArguments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoArgSQLFunction

public NoArgSQLFunction(Type returnType)

NoArgSQLFunction

public NoArgSQLFunction(Type returnType,
                        boolean hasParenthesesIfNoArguments)
Method Detail

getReturnType

public Type getReturnType(Type columnType,
                          Mapping mapping)
                   throws QueryException
Specified by:
getReturnType in interface SQLFunction
Throws:
QueryException

hasArguments

public boolean hasArguments()
Specified by:
hasArguments in interface SQLFunction

hasParenthesesIfNoArguments

public boolean hasParenthesesIfNoArguments()
Specified by:
hasParenthesesIfNoArguments in interface SQLFunction