ObjectDB Database Search

1-22 of 22 results

Cannot sort descending, when ordering by caluculated float in a method

. public class InvoiceItem{     private float price;     private float amount;     .. } public class Invoice{     private List invoiceItemList;     ..     public Float getPrice

ObjectDB Object Database Features

System Types (for persistent fields) Primitive types (boolean, byte, short, char, int, long, float , double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float , Double). java.lang ... . Primary Key Data Types Primitives (boolean, byte, short, char, int, long, float and double). Wrappers

JPA Persistable Types

, byte , short , char , int , long , float and double . Equivalent wrapper classes from package java.lang: Boolean , Byte , Short , Character , Integer , Long , Float and Double . java.math.BigInteger

Index Definition

: Primitive types: boolean , byte , short , char , int , long , float , double. Equivalent wrapper classes from package java.lang: Byte , Short , Character , Integer , Long , Float , Double. java.math

Database Schema Evolution

, float , double , Byte , Short , Character , Integer , Long , Float , Double , BigInteger , BigDecimal

Comparison in JPQL and Criteria API

, including primitive types ( byte , short , char , int , long , float , double ), wrapper types ( Byte , Short , Character , Integer , Long , Float , Double ),  BigInteger and BigDecimal can be compared

JPA Primary Key

, char , int , long , float , double . Equivalent wrapper classes from package java.lang: Byte , Short , Character , Integer , Long , Float , Double. java.math.BigInteger , java.math.BigDecimal. java

Numbers in JPQL and Criteria Queries

demonstrate only integer expressions, but all the numeric types ( byte , short , int , long , float

Literals in JPQL and Criteria Queries

: 100L, -127L, 0L, 07777L float : 3.14F, 0f, 1e2f, -2.f, 5.04e+17f double : 3.14, 0d, 1e2D, -2., 5.04e

Pre-detach loading: retrieval by navigation not working in if statement

' which is a "deep" Float value wrapper FloatQuantity entity. This is @OneToOne with explicit LAZY fetch. - A FloatQuantity entity wraps a simple Float property 'value'. - (Also, the getL_LightingZone ... : @Transient public Float getNLA_m2_LightingZone() { Float sum = 0f; if (getL_LightingZone() != null

Expression.cast(type) - JPA Method

expressions to String, and String expressions to Integer, Long, Float , and Double. Support

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

( Expression  x) Create an aggregate expression applying the sum operation to a Float -valued

InterfaceRef jakarta.persistence.criteria.Expression

to Integer, Long, Float , and Double. Support for typecasts between other basic types is not required

InterfaceRef jakarta.persistence.criteria.ParameterExpression

to Integer, Long, Float , and Double. Support for typecasts between other basic types is not

CriteriaBuilder.sumAsDouble(x) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression sumAsDouble (    Expression  x ) Create an aggregate expression applying the sum operation to a Float -valued expression, returning a Double result. Parameters: x - expression representing input value to sum operation Return: sum expression Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.Subquery

to Integer, Long, Float , and Double. Support for typecasts between other basic types is not required

find() cost unreasonable time!

();   System.out.printf("Total: %d, Level:%d %n", iNum, iLevel);   float timecost

Composite indexes

(kitchen, bedroom etc.) Date lastModificationDate; // date of last modification Float rating; //users

problem using macbook with M1 chip?

, float ) [2]     7  return       Line numbers:        

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

](TEST: A readonly deep float quantity) INFO: RequestBean []: Persisted: com.greensoft.entity.value.FloatQuantity [61](TEST: A readonly deep float quantity) INFO: RequestBean []: Updated: com.greensoft.entity.value.FloatQuantity [61](TEST: A readonly deep float quantity) INFO: RequestBean []: Created

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

][project=TEST: project 1][id=46][name=deep float quantity (length)], [class=IntegerQuantity ... : element.ownedElement([class=FloatQuantity][project=TEST: project 1][id=46][name=deep float quantity

Enhanced classes problem

several long, int, float and boolean values. Both CacheableJobAccountingInfo and CacheableJobStat extends