Package org.hibernate.dialect.function
Class ConditionalParenthesisFunction
java.lang.Object
org.hibernate.dialect.function.StandardSQLFunction
org.hibernate.dialect.function.ConditionalParenthesisFunction
- All Implemented Interfaces:
SQLFunction
Essentially the same as
StandardSQLFunction,
except that here the parentheses are not included when no arguments are given.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf there are no arguments, are parentheses required?render(List args, SessionFactoryImplementor factory) Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction
getName, getReturnType, getType, hasArguments, render, toString
-
Constructor Details
-
ConditionalParenthesisFunction
-
ConditionalParenthesisFunction
-
-
Method Details
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()Description copied from class:StandardSQLFunctionIf there are no arguments, are parentheses required?- Specified by:
hasParenthesesIfNoArgumentsin interfaceSQLFunction- Overrides:
hasParenthesesIfNoArgumentsin classStandardSQLFunction- Returns:
- True if a no-arg call of this function requires parentheses.
-
render
-