Пример #1
0
 /**
  * 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");
 }
Пример #2
0
 /**
  * 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");
 }
Пример #3
0
 private static final ExpressionOperator createConcatExpressionOperator() {
   return ExpressionOperator.simpleLogicalNoParens(ExpressionOperator.Concat, "||");
 }