org.hibernate.dialect.function.StandardSQLFunction ,
except that here the parentheses are not included when no arguments are given.
| Access | Constructor and Description |
|---|---|
| public | ConditionalParenthesisFunction(String
The function name name)Constructs a ConditionalParenthesisFunction with the given name |
| public | ConditionalParenthesisFunction(String
The function name name, Type The function return type type)Constructs a ConditionalParenthesisFunction with the given name |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasParenthesesIfNoArguments()
Overrides org. Implements org. |
| public String | render(Type
The type of the first argument firstArgumentType, List<E> The function arguments arguments, SessionFactoryImplementor The SessionFactory sessionFactory)Overrides org. Implements org.
Deprecated
as a consequence of
Render the function call as SQL fragment.
SessionFactoryImplementor being deprecated.
|
| ConditionalParenthesisFunction | back to summary |
|---|---|
| public ConditionalParenthesisFunction(String name) Constructs a ConditionalParenthesisFunction with the given name
| |
| ConditionalParenthesisFunction | back to summary |
|---|---|
| public ConditionalParenthesisFunction(String name, Type type) Constructs a ConditionalParenthesisFunction with the given name | |
| hasParenthesesIfNoArguments | back to summary |
|---|---|
| public boolean hasParenthesesIfNoArguments() Overrides org. Implements org. Doc from org. If there are no arguments, are parentheses required?
| |
| render | back to summary |
|---|---|
| public String render(Type firstArgumentType, List<E> arguments, SessionFactoryImplementor sessionFactory) Overrides org. Implements org. Doc from org. Deprecated as a consequence of Render the function call as SQL fragment.
Note, the 'firstArgumentType' parameter should match the one passed into
| |