ObjectDB ObjectDB

Internal Website Search

1-10 of 47 resultsRefresh


Method javax.persistence.criteria.CriteriaBuilder Expression<N> abs( Expression<N> x ) Create an expression that returns the absolute value of its argument. Parameters: x - expression Returns: absolute value Since: JPA 2.0

Numbers in JPQL and Criteria Queries

value and a double value is double. The ABS Function The ABS function removes the minus sign from ... . For example: ABS(-5) is evaluated to 5 ABS(10.7) is evaluated to 10.7 The ABS function takes as ... Operators Creation of the unary minus (-) operator and the ABS and SQRT functions requires

FROM clause (JPQL / Criteria API)

reserved words: ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BIT_LENGTH, BOTH, BY, CASE, CHAR_LENGTH ... well as all the reserved identifiers in the list above are case insensitive. Therefore, ABS, abs, Abs and aBs are all invalid variable names. FROM and JOIN in Criteria Queries FROM query identification

ObjectDB Object Database Features

& functions (+, -, *, /, %, ABS, SQRT, MOD). JPQL string operators & functions (LIKE, CONCAT, TRIM

JPA Criteria API Queries

, quot, mod, abs, neg, sqrt). String expressions (like, length, locate, lower, upper, concat, substring

JPA Query Expressions (JPQL / Criteria)

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

Field in Generic Class not persisted?

; @Entity public class OBJ6 extends ABS<Long, OBJ6>{      @Id @GeneratedValue long id ... ();     } } and the Abstract class package DBbug; import java.io.Serializable; abstract class ABS<Type1,Type2> implements Serializable{     public Type1 valueInGenericClass;         public ABS

Unable to execute update query

final String AB = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";     static Random rnd = new Random ... );         for (int i = 0; i < len; i++)             sb.append(AB.charAt(rnd.nextInt(AB.length


. Expression<N> abs( Expression<N> x) Create an expression that returns the absolute value

com.objectdb.o.InternalException: null

.objectdb.o.LDR.J(LDR.java:800) at com.objectdb.o.LDR.U1(LDR.java:1027) at com.objectdb.o.CST.ab(CST ... .LDR.J(LDR.java:800) at com.objectdb.o.LDR.U1(LDR.java:1027) at com.objectdb.o.CST.ab(CST.java:491 ... .objectdb.o.LDR.J(LDR.java:800) at com.objectdb.o.LDR.U1(LDR.java:1027) at com.objectdb.o.CST.ab

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support