ObjectDB Database Search

1-39 of 39 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

Database Schema Evolution

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

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

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

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

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

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

[ODB1] Chapter 7 - JDOQL Queries

, 0, 0xFFFF, 07777 , ... long 2003L, -127L, 0L, 0xFFFFL, 07777L , ... float 3.14F, 0f, 1e2f, -2.f, 5 ... all six comparison operators. Numeric wrapper types ( Byte , Short , Character , Integer , Long , Float ... numeric types ( byte , short , char , int , long , float , double ). Logical Operators Logical

[ODB1] Chapter 3 - Persistent Classes

, int , long , float and double . Selected classes in package java.lang : Boolean , Byte , Short , Character , Integer , Long , Float , Double , Number and String . Selected classes in package java ... type is valid in Java (for example from int to float and from float to int ) the old value

javax.persistence.AttributeOverride

{ // address field mapping overridden to ADDR protected Float wage(); public Float getHourlyWage() { ... } public void setHourlyWage( Float wage) { ... } } Example 2: @Embeddable public class Address

javax.persistence.MappedSuperclass

_EMP.ADDR_ID fk @Column(name="WAGE") protected Float hourlyWage; public PartTimeEmployee() {} public Float getHourlyWage() { ... } public void setHourlyWage( Float wage

javax.persistence.criteria.CriteriaBuilder

sumAsDouble ( Expression  x) Create an aggregate expression applying the sum operation to a Float ... expression Return: Expression< Float > Since: JPA 2.0 Expression toInteger ( Expression  

[ODB1] Chapter 4 - JDO Metadata

: embedded value types: primitive type ( boolean , byte , short , char , int , long , float or double ) embedded wrapper ( Boolean , Byte , Short , Character , Integer , Long , Float or Double ) embedded

CriteriaBuilder.sumAsDouble(x) - JPA Method

JPA Method in javax.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

CriteriaBuilder.toFloat(number) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression toFloat (    Expression  number ) Typecast. Returns same expression object. Parameters: number - numeric expression Return: Expression< Float > Since: JPA 2.0

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

javax.jdo.spi.StateManager

: the new value for the field Since: JDO 1.0 float getFloatField (PersistenceCapable pc, int field,  float  currentValue) Return the value for the field. Parameters: pc ... ;int field,  float  currentValue) The value of the field requested to be provided

Enhanced classes problem

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

javax.jdo.spi.JDOImplHelper

, String name , and Float salary ) would have the method generated: void jdoCopyKeyFieldsFromObjectId ... that has three key fields ( int id , String name , and Float salary ) would have the method generated

javax.jdo.spi.PersistenceCapable

(int id, String name, and Float salary) would have the method generated: void ... name, and Float salary) would have the method generated: void jdoCopyKeyFieldsToObjectId

StateManager.getFloatField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager float getFloatField (   PersistenceCapable pc,    int field,     float  currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number

StateManager.setFloatField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setFloatField (   PersistenceCapable pc,    int field,     float  currentValue,     float  newValue ) Mark the field as modified by the user. Parameters: pc - the calling

javax.jdo.Query

may be specified to be one of the java.lang classes Character, Boolean, Byte, Short, Integer, Long, Float

Query.setResultClass(cls) - JDO Method

, Integer, Long, Float , Double, String, or Object[]; or one of the java.math classes BigInteger or

javax.jdo.annotations.Column

default -1 Scale for the column when handling floating point values. Since: JDO 2.1 String sqlType

javax.jdo.annotations.Column.scale

JDO Annotation Attribute in javax.jdo.annotations.Column int scale default -1 Scale for the column when handling floating point values. Since: JDO 2.1

JDOImplHelper.copyKeyFieldsToObjectId(pcClass,fm,oid) - JDO Method

, and Float salary ) would have the method generated: void jdoCopyKeyFieldsToObjectId (Object oid

JDOImplHelper.copyKeyFieldsFromObjectId(pcClass,fm,oid) - JDO Method

, and Float salary ) would have the method generated: void jdoCopyKeyFieldsFromObjectId

PersistenceCapable.jdoCopyKeyFieldsToObjectId(fm,oid) - JDO Method

, an ObjectId class that has three key fields (int id, String name, and Float salary

PersistenceCapable.jdoCopyKeyFieldsFromObjectId(fm,oid) - JDO Method

, an ObjectId class that has three key fields (int id, String name, and Float salary

StateManager.providedFloatField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedFloatField (   PersistenceCapable pc,    int field,     float  currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.replacingFloatField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager float replacingFloatField (   PersistenceCapable pc,    int field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0