About int

manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... types: boolean , byte , short , char , int , long , float and double . Equivalent wrapper ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... to the new type (for instance a change from int to Date ) the fields are not considered as matching and the new field ... numeric types are: byte , short , char , int , long , float , double , Byte , Short , Character , ...

 
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)

 
forum_thread

How to convert a boolean to an int in the query?

How to convert a boolean to an int in the query? I have five parameters of type boolean in the entity object - approveEmail, approvePhoneNumper, ... I can not sort them ORDER BY approveEmail, approvePhoneNumper, .... because the parameters equivalent. I want to sort them in the query by their sum ORDER BY (approveEmail + approvePhoneNumper + ... ) But I get an exception com.objectdb.o._PersistenceException: Invalid operand type boolean for operator + ... How to convert a boolean to an int in the query? I have five parameters of type boolean in the entity ... Consider adding an int field to your entity class, that will sum them. You can calculate it in a ...

 
doc

hashCode()

(Method of java.security.Permission)

 
doc

hashCode()

(Method of java.security.BasicPermission)

 
doc

compareTo(arg0)

(Method of java.lang.Comparable)

 
api-jdo

javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager

This interface is a convenience interface that allows an instance to implement both ObjectIdFieldSupplier and ObjectIdFieldConsumer.(Interface of JDO)

 
api-jpa

substring(x, from, len)

Create an expression for substring extraction.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

javax.persistence.TypedQuery

Interface used to control the execution of typed queries.(Interface of JPA)