About int

31-40 of 200Refresh
Manual
7

CRUD Database Operations with JPA

Given an EntityManager, em, that represents a JPA connection to the object database, we can use it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int i
Manual
7

Query Parameters in JPA [2011-04-01]

(?) followed by a positive int number. Besides the notation difference, named parameters and ordinal
Manual
7

Query Parameters in JPA

(?) followed by a positive int number. Besides the notation difference, named parameters and ordinal
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