About string

51-60 of 200Refresh
Manual
7

GROUP BY and HAVING clauses

of comparable values (numeric, strings, dates). MAX - returns the maximum of comparable values (numeric, strings, dates). The following query counts for every letter the number of countries ... contains the initial letter as a String object, the second cell contains the number of countries in
Manual
7

JPA Query API

Building queries by passing JPQL query strings directly to the createQuery method, as shown above, is referred to in JPA as dynamic query construction because the query string can be built dynamically ... on Java objects that represent query elements (replacing string based JPQL). JPA also provides a way
Manual
7

Online Backup

.createQuery("objectdb backup").getSingleResult(); The backup query string is always exactly "objectdb backup ... could be specified as a String value: Query backupQuery = em.createQuery("objectdb backup"); backupQuery.setParameter("target", "backup"); backupQuery.getSingleResult(); When a string is specified as
Manual
7

Locking in JPA

> For an EntityManagerFactory - using the createEntityManagerFacotory method:   Map<String,Object ...  - using the createEntityManager method:   Map<String,Object> properties = new HashMap ... : Map<String,Object> properties = new HashMap();   properties.put("javax.persistence.lock.timeout
Manual
7

Collections in JPQL and Criteria Queries

: ExpressionString>> languages = country.get("languages"); Expression<String> param = cb.parameter(String.class); // collection IS [NOT] EMPTY Predicate e1 = cb.isEmpty(languages
Manual
7

Defining a JPA Entity Class [2011-02-11]

getX() { return this.x; } public int getY() { return this.y; } // String Representation: @Override public String toString() { return String.format("(%d, %d)", this.x
Manual
7

Defining a JPA Entity Class

getX() { return this.x; } public int getY() { return this.y; } // String Representation: @Override public String toString() { return String.format("(%d, %d)", this.x
Result
7

ObjectDB Object Database Features [2018-01-27]

, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date ... and Double). java.lang.String Dates: java.util.Date, java.sql.Date, java.sql.Time and java.sql.Timestamp ... , &&, ||). Arithmetic operators & functions (+, -, *, /, %, ABS, SQRT, MOD). JPQL string operators & functions
Result
7

ObjectDB Object Database Features [2018-10-27]

, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date ... and Double). java.lang.String Dates: java.util.Date, java.sql.Date, java.sql.Time and java.sql.Timestamp ... , &&, ||). Arithmetic operators & functions (+, -, *, /, %, ABS, SQRT, MOD). JPQL string operators & functions
Result
7

ObjectDB Object Database Features

, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date, java.sql.Date, java ... and double). Wrappers (Boolean, Byte, Short, Character, Integer, Long, Float and Double). java.lang.String ... & functions (+, -, *, /, %, ABS, SQRT, MOD). JPQL string operators & functions (LIKE, CONCAT, TRIM