About int

41-50 of 200Refresh
Tutorial
7

Step 3: Add a Main Class [2011-02-11]

Point objects in the database: em.getTransaction().begin(); for (int i = 0; i
Tutorial
7

Step 3: Add a Main Class

Point objects in the database: em.getTransaction().begin(); for (int i = 0; i < 1000
JDO Doc
7

javax.jdo.listener.InstanceLifecycleEvent

serialization methods are implemented to throw NotSerializableException. Since: JDO 2.0 int ATTACH Since: JDO 2.0 int CLEAR Since: JDO 2.0 int CREATE Since: JDO 2.0 int DELETE Since: JDO 2.0 int DETACH Since: JDO 2.0 int DIRTY Since: JDO 2.0 int LOAD Since: JDO 2.0 int STORE Since: JDO 2.0
JPA Doc
7

javax.persistence.Query

Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement ... back Since: JPA 1.0 int getFirstResult() The position of the first result the query object was set ... a Criteria API query Since: JPA 2.0 int getMaxResults() The maximum number of results the query
JDO Doc
7

javax.jdo.FetchPlan

, and the various setGroups calls. Value: default. Since: JDO 2.0 int DETACH_LOAD_FIELDS For use ... plan should be loaded prior to detachment. Since: JDO 2.0 int DETACH_UNLOAD_FIELDS For use ... should be unloaded prior to detachment. Since: JDO 2.0 int FETCH_SIZE_GREEDY For use with setFetchSize
JDO Doc
6

javax.jdo.spi.PersistenceCapable

 other, int[] fieldNumbers) Copy field values from another instance of the same class to this instance. Copy ... . 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
5

javax.jdo.identity.IntIdentity

, Comparable This class is for identity with a single int field. Since: JDO 1.0 IntIdentity() Constructor ... , int key) Constructor with class and key. Constructor with class and key. Parameters: pcClass ... and key. Parameters: pcClass - the class key - the key Since: JDO 1.0 int compareTo(T arg0) Parameters
JPA Doc
4

javax.persistence.criteria.CriteriaBuilder

> x, String pattern, int from) Create expression to locate the position of one string ... Returns: square root Since: JPA 2.0 Expression substring( Expression x, int from) Create ... extraction Since: JPA 2.0 Expression substring( Expression x, int from, int len
JPA Doc
4

javax.persistence.MapKeyClass

is specified and vice versa. Example 1: @Entity public class Item { @Id int id ... and target type of relationship can be defaulted @Entity public class Item { @Id int id ... : @Entity public class Company { @Id int id; ... @OneToMany
JPA Doc
4

javax.persistence.MapKeyColumn

relationship field or property; "_"; "KEY". Example: @Entity public class Item { @Id int id ... : true Since: JPA 2.0 int length (Optional) The column length. (Optional) The column length. (Applies ... ) Whether the database column is nullable. Default value: false Since: JPA 2.0 int precision (Optional