Home » Search

About float

11-20 of 42Refresh
JPA Doc
12

javax.persistence.criteria.CriteriaBuilder

<Float> x) Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result. Create an aggregate expression applying the sum operation to a Float-valued ... Since: JPA 2.0 Expression<Float> toFloat( Expression number) Typecast. Typecast. Returns same
JDO Doc
9

javax.jdo.annotations.Column

when handling floating point values. Scale for the column when handling floating point values. Returns: the scale for the column when handling floating point values Default value: -1 Since: JDO 2.1
JPA Doc
9

javax.persistence.AttributeOverride

{ // address field mapping overridden to ADDR protected Float wage(); public Float getHourlyWage() { ... } public void setHourlyWage(Float wage) { ... } } Example 2
JPA Doc
9

javax.persistence.MappedSuperclass

") protected Float hourlyWage; public PartTimeEmployee() {} public Float getHourlyWage() { ... } public void setHourlyWage(Float wage) { ... } } Since: JPA 1.0
Forum
9

Performance in large transactions

));   emf.close(); } private static List<Float> createFloatArray(float value) {   int values = 1;   List<Float> floats = new ArrayList<Float>(values);   for (float i = 0; i < values; i++) {    floats.add(value + (i / values));   }   return floats; } @Entity public static class
JDO Doc
7

Column.scale

Annotation Element javax.jdo.annotations.Column int scale Scale for the column when handling floating point values. Returns: the scale for the column when handling floating point values Default value: -1 Since: JDO 2.1
JDO Doc
7

getFloatField(pc, field, currentValue)

Method 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 currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.0
JDO Doc
7

javax.jdo.spi.JDOImplHelper

that has three key fields ( int id, String name, and Float salary) would have the method generated: void ... , and Float salary) would have the method generated: void jdoCopyKeyFieldsToObjectId (Object oid
JDO Doc
7

javax.jdo.spi.PersistenceCapable

. For example, an ObjectId class that has three key fields (int id, String name, and Float salary ... , an ObjectId class that has three key fields (int id, String name, and Float salary) would have the method
JDO Doc
7

setFloatField(pc, field, currentValue, newValue)

Method 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 PersistenceCapable instance field - the field number currentValue - the current value