Home » Search

About IDE

91-100 of 200Refresh
JDO Doc
6

javax.jdo.spi.JDOImplHelper

that has three key fields ( int id, String name, and Float salary) would have the method generated: void ... , oid.id); fm.storeStringField (1, oid.name); fm.storeObjectField (2, oid.salary ... in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name
JPA Doc
6

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
6

javax.persistence.MapKeyJoinColumn

: @Entity public class Company { @Id int id; ... @OneToMany ... public class VideoStore { @Id int id; String name; Address location ... (name="MOVIE", referencedColumnName="ID") Map videoInventory
JPA Doc
5

javax.persistence.AttributeOverride

Id property or field. May be applied to an entity that extends a mapped superclass or to an embedded field or property to override a basic mapping or id mapping defined by the mapped superclass or ... : @MappedSuperclass public class Employee { @Id protected Integer id
JDO Doc
5

javax.jdo.identity.ObjectIdentity

Since: JDO 2.2 boolean equals(Object obj) Determine if the other object represents the same object id. Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0 boolean equals(Object obj
JDO Doc
5

javax.jdo.JDOHelper

.getObjectById(Object oid, boolean validate) Object[] getObjectIds(Object[] pcs) Get object ids for an array of instances. Get object ids for an array of instances. For each instance in the parameter ... of the parameter array. Parameters: pcs - the persistence-capable instances Returns: the object ids
JPA Doc
5

javax.persistence.metamodel.SingularAttribute

whether the attribute is collection-valued Since: JPA 2.0 boolean isId() Is the attribute an id attribute. Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Returns: boolean
JPA Doc
5

getDeclaredId(type)

> type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared id attribute Throws: IllegalArgumentException - if id attribute of the given type is not declared in
JPA Doc
5

getId(type)

) Return the attribute that corresponds to the id attribute of the entity or mapped superclass. Parameters: type - the type of the represented id attribute Returns: id attribute Throws: IllegalArgumentException - if id attribute of the given type is not present in the identifiable type or if the identifiable type has an id class Since: JPA 2.0
JPA Doc
5

isId()

Method javax.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Returns: boolean indicating whether the attribute is an id Since: JPA 2.0