About double

1-10 of 82Refresh
Forum
32

Items in list are doubled, when the entity class is not enhanced

Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not enhanced, added items are doubled. Here is an example: @Entity public class Customer ... ? Michael   I've found out a new thing - items are also doubled, when the classes are enhanced and before
Forum
31

Double persist of Entity field with Cascade.ALL

, you should see the Book table correctly recorded but the Chapter table would have double entry of same record
Result
28

ObjectDB Object Database Features [2018-01-27]

using a recovery file and double writing. Additional recovery layer - supports full transaction ... fields) Primitive types (boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date
Result
28

ObjectDB Object Database Features [2018-10-27]

using a recovery file and double writing. Additional recovery layer - supports full transaction ... fields) Primitive types (boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date
Result
28

ObjectDB Object Database Features

and double writing. Additional recovery layer - supports full transaction recording and replaying ... (boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java.util.Date, java.sql.Date, java
Manual
25

Numbers in JPQL and Criteria Queries

on an int value and a double value is double. The ABS Function The ABS function removes the minus sign from ... of any type and always returns a double value. Criteria Query Arithmetic Expressions JPQL ... , double, BigInteger, BigDecimal) are supported. Unary Operators Creation of the unary minus
Manual
22

Comparison in JPQL and Criteria API

, char, int, long, float, double), wrapper types (Byte, Short, Character, Integer, Long, Float, Double ... detailed above. Therefore, for example, a double value can be compared to a BigInteger instance
Manual
22

Literals in JPQL and Criteria Queries

, 0L, 07777L float: 3.14F, 0f, 1e2f, -2.f, 5.04e+17f double: 3.14, 0d, 1e2D, -2., 5.04e+17 ObjectDB ... are enclosed with double quotes (e.g. "Adam", "") and Java escape characters can be used (e.g. "Adam\'s ... ); Expression i2 = cb.literal(Integer.ValueOf(2)); Expression<Double> d = cb.literal(3.4
Manual
18

GROUP BY and HAVING clauses

of numeric values. AVG - returns the average of numeric values as a double value. MIN - returns the minimum ... representing the sum of values. avg - returns a double type expression representing the average
Manual
18

Index Definition

, float, double. Equivalent wrapper classes from package java.lang: Byte, Short, Character, Integer, Long, Float, Double. java.math.BigInteger, java.math.BigDecimal. java.lang.String. java.util.Date