ObjectDB ObjectDB

Internal Website Search

31-40 of 85 resultsRefresh
27

Problem with Criteria Querys

().begin();         for (double i=0.0; i<10.0;i++){          em.persist(new DataObject(i ... (DataObject.class);   q.select(d);   ParameterExpression<Double> p1 = cb.parameter(Double.class);   ParameterExpression<Double> p2 = cb.parameter(Double.class);   q.where(    cb.and(     cb.gt(d
4

avg(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<Double> avg( Expression<N> x ) Create an aggregate expression applying the avg operation. Parameters: x - expression representing input value to avg operation Returns: avg expression Since: JPA 2.0
0

getDoubleField(pc, field, currentValue)

Method javax.jdo.spi.StateManager double getDoubleField( PersistenceCapable pc, int field, double 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
0

storeDoubleField(fieldNumber, value)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer void storeDoubleField( int fieldNumber, double value ) Store one field into the field manager. This field was retrieved from the field of the ObjectId. Parameters: fieldNumber - the field number of the key field. value - the value of the field from the ObjectId. Since: JDO 1.0
0

setResultClass(cls)

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

javax.jdo.Query

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

replacingDoubleField(pc, field)

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

javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer

void storeDoubleField(int fieldNumber, double value) Store one field into the field manager. Store
0

fetchDoubleField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier double fetchDoubleField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0
0

javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier

the ObjectId. Since: JDO 1.0 double fetchDoubleField(int fieldNumber) Fetch one field from the field

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support