About float

manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... , byte , short , char , int , long , float and double . Equivalent wrapper classes from package ... Byte , Short , Character , Integer , Long , Float and Double . java.math.BigInteger , ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... byte , short , char , int , long , float , double , Byte , Short , Character , Integer , Long , Float , Double , BigInteger , BigDecimal and enum values that are ...

 
forum_thread

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

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem. public class InvoiceItem{ ..     private float price;     private float amount; .. }   public class Invoice{ ... public class InvoiceItem { private float price ; private float amount ; .. }   public class Invoice ...

 
forum_thread

Performance in large transactions

Hello, we have a performance problem when we use a large transaction. Let's do exactly the same in several transactions the ObjectDB works much faster. In our use case, we create many new entities and between the creations we call a select query. The execution of the query becomes slower at each iteration. (In the query, we search for an item of type Entity2. However, there is only one entity.)   Pseudocode for the fast and the slow solution FAST: ... ; }   private static List<Float> createFloatArray ( float value ) { int values = 1 ; ...

 
api-jdo

getFloatField(pc, field, currentValue)

Return the value for the field.(Method of javax.jdo.spi.StateManager)

 
api-jdo

setFloatField(pc, field, currentValue, newValue)

Mark the field as modified by the user.(Method of javax.jdo.spi.StateManager)

 
forum_thread

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

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... has a property 'v_NLA' which is a "deep" Float value wrapper FloatQuantity entity. This is @OneToOne with explicit ... fetch. - A FloatQuantity entity wraps a simple Float property 'value'. - (Also, the getL_LightingZone() ...

 
api-jdo

javax.jdo.spi.StateManager

This interface is the point of contact between managed instances of PersistenceCapable classes and the JDO implementation.(Interface of JDO)

 
api-jpa

toFloat(number)

Typecast.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jdo

fetchFloatField(fieldNumber)

Fetch one field from the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier)