java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.query.AbstractJdbcFunction
ch.tocco.nice2.persist.core.impl.hibernate.query.function.DueDateFunction
All Implemented Interfaces:
JdbcFunction

@Component public class DueDateFunction extends AbstractJdbcFunction
  • Constructor Details

    • DueDateFunction

      public DueDateFunction(TypeManager typeManager)
  • Method Details

    • createFunction

      public org.hibernate.dialect.function.SQLFunction createFunction(org.hibernate.type.TypeResolver typeResolver, SqlWriter writer)
      Returns:
      an SQLFunction that contains the raw sql statement that is executed on the db.
      See Also:
      • SQLFunctionTemplate
    • validateArguments

      public void validateArguments(jakarta.persistence.criteria.Expression<?>[] arguments) throws JdbcFunctionException
      Throws:
      JdbcFunctionException
    • argumentCount

      public int argumentCount()
      Returns:
      the number of expected arguments.