ObjectDB Database Search

1-4 of 4 results

Numbers in JPQL and Criteria Queries

a value of the same type. The MOD function The MOD function calculates the remainder of a division ... . For example: MOD (11, 3) evaluates to 2 . MOD (8, 4) evaluates to 0 . The MOD function takes two integer ... , if the operands are an int and a long , the MOD function returns a long . The SQRT function The SQRT

FROM clause (JPQL / Criteria API)

, LOWER, MAX, MEMBER, MIN, MOD , NEW, NOT, NULL, NULLIF, OBJECT, OF, OR, ORDER, OUTER, POSITION, SELECT

JPA Query Expressions (JPQL / Criteria)

, and types ( get , type ) Arithmetic expressions ( sum , diff , prod , quot , mod , abs , neg , sqrt

jakarta.persistence.criteria.CriteriaBuilder

) 1.0 Expression mod ( Expression x , Expression y ) Create an expression that returns the modulus ... Returns: modulus. Since: Jakarta Persistence (JPA) 1.0 Expression mod ( Expression x , Integer y ) Create ... . Parameters: x - expression y - value Returns: modulus. Since: Jakarta Persistence (JPA) 1.0 Expression mod