Class HibernateJpqlFunctionAdapter
java.lang.Object
com.blazebit.persistence.integration.hibernate.base.function.HibernateJpqlFunctionAdapter
- All Implemented Interfaces:
org.hibernate.dialect.function.SQLFunction
public class HibernateJpqlFunctionAdapter
extends Object
implements org.hibernate.dialect.function.SQLFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.type.TypegetReturnType(org.hibernate.type.Type firstArgumentType, org.hibernate.engine.spi.Mapping mapping) booleanbooleanrender(org.hibernate.type.Type firstArgumentType, List args, org.hibernate.engine.spi.SessionFactoryImplementor factory) unwrap()
-
Constructor Details
-
HibernateJpqlFunctionAdapter
-
-
Method Details
-
unwrap
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceorg.hibernate.dialect.function.SQLFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceorg.hibernate.dialect.function.SQLFunction
-
getReturnType
public org.hibernate.type.Type getReturnType(org.hibernate.type.Type firstArgumentType, org.hibernate.engine.spi.Mapping mapping) throws org.hibernate.QueryException - Specified by:
getReturnTypein interfaceorg.hibernate.dialect.function.SQLFunction- Throws:
org.hibernate.QueryException
-
render
public String render(org.hibernate.type.Type firstArgumentType, List args, org.hibernate.engine.spi.SessionFactoryImplementor factory) throws org.hibernate.QueryException - Specified by:
renderin interfaceorg.hibernate.dialect.function.SQLFunction- Throws:
org.hibernate.QueryException
-