/** * Creates the expression operator representing the JPQL function current_timestamp as defined by * 4.6.17.2.3 of the JPA 2.0 specification * * @return the expression operator representing the JPQL function current_timestamp as defined by * 4.6.17.2.3 of the JPA 2.0 specification */ private static final ExpressionOperator createTodayExpressionOperator() { return ExpressionOperator.simpleLogicalNoParens(ExpressionOperator.Today, "CURRENT_TIMESTAMP"); }
/** * Creates the expression operator representing the JPQL function current_timestamp as defined by * 4.6.17.2.3 of the JPA 2.0 specification * * @return the expression operator representing the JPQL function current_timestamp as defined by * 4.6.17.2.3 of the JPA 2.0 specification */ private static final ExpressionOperator createCurrentTimeExpressionOperator() { return ExpressionOperator.simpleLogicalNoParens(ExpressionOperator.CurrentTime, "CURRENT_TIME"); }
private static final ExpressionOperator createConcatExpressionOperator() { return ExpressionOperator.simpleLogicalNoParens(ExpressionOperator.Concat, "||"); }