About abs

manual

Numbers in JPQL and Criteria Queries

Shows how numbers, arithmetic expressions and numeric functions and operators (MOD, ABS) can be used in JPQL queries.... Arithmetic Operators The ABS Function The MOD Function The SQRT Function ... value and a double value is double . The ABS Function The ABS function removes the minus sign from a specified ...

 
api-jpa

abs(x)

Create an expression that returns the absolute value of its argument.(Method of javax.persistence.criteria.CriteriaBuilder)

 
manual

JPA Query Expressions (JPQL / Criteria)

Describes JPA query (JPQL / Criteria API) expressions (literals, operators and functions).... arguments. See JavaDoc Reference Page... , abs abs(x) CriteriaBuilder's method Create an expression that returns ...

 
forum_thread

Field in Generic Class not persisted?

Hi, I am trying to persist a class which is extended from an abstract class - but fields declared inside the abstract class are not persisted - is that expected? I assume it can be done b/c this field can be recovered after serialisation/deserialization. Here is an code to demonstrate the problem Thanks   ... @ Entity public class OBJ6 extends ABS<Long, OBJ6> { @ Id @ GeneratedValue ... Serializable ;     abstract class ABS<Type1,Type2> implements Serializable { public ...

 
manual

JPA Criteria API Queries

Explains how to use the JPA Criteria API (CriteriaBuilder, CriteriaQuery, etc.) to build JPQL like queries.... arguments. See JavaDoc Reference Page... , abs abs(x) CriteriaBuilder's method Create an expression that returns ...

 
manual

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query.... cannot be one of the following reserved words: ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BIT_LENGTH, BOTH, BY, CASE, ... in the list above are case insensitive. Therefore, ABS, abs, Abs and aBs are all invalid variable names. FROM and JOIN in ...

 
api-jpa

javax.persistence.criteria.CriteriaBuilder

Used to construct criteria queries, compound selections, expressions, predicates, orderings.(Interface of JPA)

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes. A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or more persistent classes. All the persistent classes, and only them, have to be declared in a metadata file. The metadata is used first by the JDO Enhancer, and ...

 
forum_thread

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHERE clause. The same exception using CriteriaQuery. #1 2014-05-01 23:25 Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHE ...

 
forum_thread

Is there an administration tool with which I could create extra indexes?

Hello, I have composite index, and it was working fine, but now I need to add more features to the software and I need to throw more indexes in there. I wanted to know what's the best way to do this. 1. Have some admin tool CREATE INDEX..... ON a.b or 2. add more @Index to the object entities. in case of #2, would ObjectDB auto-reindex all existing data? #1 2013-01-10 07:25 Hello, I have composite index, and it was working fine, but now I need to add more features to the softwa ...